diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2014-09-23 02:31:50 +0400 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2014-09-23 02:31:50 +0400 |
commit | 26b17ff2e3b21ee26c6fdbecc8273520cff45718 (patch) | |
tree | ca8a62411075aca6e63587a1f65cc17ecb739a04 /lib | |
parent | 846facacc6427dafcf5756dcd36d9036539938de (diff) |
npmconf decides what the default prefix is
See #6272 for details.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/install.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/install.js b/lib/install.js index d7ba27435..5798ce12a 100644 --- a/lib/install.js +++ b/lib/install.js @@ -353,7 +353,7 @@ function save (where, installed, tree, pretty, hasArguments, cb) { } var saveBundle = npm.config.get("save-bundle") - var savePrefix = npm.config.get("save-prefix") || "^" + var savePrefix = npm.config.get("save-prefix") // each item in the tree is a top-level thing that should be saved // to the package.json file. |