Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/publish.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/publish.js b/lib/publish.js
index 00ffdfae3..cede9ff0a 100644
--- a/lib/publish.js
+++ b/lib/publish.js
@@ -72,6 +72,7 @@ function publish_ (arg, data, isRetry, cachedir, cb) {
var registry = npm.registry
if (data.publishConfig) {
var pubConf = new Conf(npm.config)
+ pubConf.save = npm.config.save.bind(npm.config)
// don't modify the actual publishConfig object, in case we have
// to set a login token or some other data.