diff --git a/lib/module.js b/lib/module.js index 8dd304e85eb4a6..02e6cccf77d1eb 100644 --- a/lib/module.js +++ b/lib/module.js @@ -350,7 +350,7 @@ Module.prototype.load = function(filename) { Module.prototype.require = function(path) { assert(path, 'missing path'); assert(typeof path === 'string', 'path must be a string'); - return Module._load(path, this); + return Module._load(path, this, /* isMain */ false); };