diff --git a/lib/module.js b/lib/module.js index 637072fbc763cb..eba3de81713fe8 100644 --- a/lib/module.js +++ b/lib/module.js @@ -490,7 +490,7 @@ Module._initPaths = function() { var nodePath = process.env['NODE_PATH']; if (nodePath) { paths = nodePath.split(path.delimiter).filter(function(path) { - return !!path + return !!path; }).concat(paths); }