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:
authorisaacs <i@izs.me>2014-02-03 08:11:34 +0400
committerisaacs <i@izs.me>2014-02-03 08:11:52 +0400
commitc0ac83224d49aa62e55577f8f27d53bbfd640dc5 (patch)
tree47ab07783b08c1a84e43451cd667d55cd1a7e089 /package.json
parentb99d465221ac03bca30976cbf4d62ca80ab34091 (diff)
publishConfig: conf.save() should save actual config, not pubConf
This avoids an error when the npm-registry-client gets a new token, and attempts to call conf.save('user'). However, a publishConfig can't save in this way, because it doesn't have a 'user' file source. Binding the save to the parent config *does* avoid the error, but of course, at the cost of making the save in this situation a no-op.
Diffstat (limited to 'package.json')
0 files changed, 0 insertions, 0 deletions