diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/build.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/build.js b/lib/build.js index 5dd243a79..c2acc0066 100644 --- a/lib/build.js +++ b/lib/build.js @@ -79,7 +79,8 @@ var writeBuiltinConf = build.writeBuiltinConf = function (pkg, folder, cb) { var parent = path.dirname(folder) var dir = npm.globalDir - if (pkg.name !== 'npm' || + // Make this count for canary, too + if ((pkg.name !== 'npm' && pkg.name !== 'npmc') || !npm.config.get('global') || !npm.config.usingBuiltin || dir !== parent) { |