Remove hideInternalModules API

This commit is contained in:
Kevin Sawicki 2016-04-28 09:54:22 -07:00
parent dafa14fe42
commit 2ce4237083
4 changed files with 0 additions and 27 deletions

View file

@ -18,10 +18,6 @@ require('../common/init')
var globalPaths = Module.globalPaths
if (!process.env.ELECTRON_HIDE_INTERNAL_MODULES) {
globalPaths.push(path.join(__dirname, 'api'))
}
// Expose public APIs.
globalPaths.push(path.join(__dirname, 'api', 'exports'))