diff --git a/lib/module.js b/lib/module.js index 8b25c547c4b077..b065cab5d11e3c 100644 --- a/lib/module.js +++ b/lib/module.js @@ -632,7 +632,7 @@ Module._initPaths = function() { modulePaths = paths; - // clone as a read-only copy, for introspection. + // clone as a shallow copy, for introspection. Module.globalPaths = modulePaths.slice(0); };