Rename the env to ELECTRON_HIDE_INTERNAL_MODULES
This commit is contained in:
parent
eac2e7cc61
commit
c649c4cf4f
3 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ require path.resolve(__dirname, '..', '..', 'common', 'lib', 'init')
|
|||
globalPaths = Module.globalPaths
|
||||
globalPaths.push path.resolve(__dirname, '..', 'api', 'lib', 'exports')
|
||||
|
||||
unless process.env.ELECTRON_DISABLE_OLD_STYLE_MODULES
|
||||
unless process.env.ELECTRON_HIDE_INTERNAL_MODULES
|
||||
globalPaths.push path.resolve(__dirname, '..', 'api', 'lib')
|
||||
|
||||
if process.platform is 'win32'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue