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:
authorsmikes <smikes@cubane.com>2015-02-26 23:20:21 +0300
committerForrest L Norvell <forrest@npmjs.com>2015-02-27 00:50:06 +0300
commitbd2b2dd3787f28ce235661bf470261b7ff18f396 (patch)
tree0072f00caf3d064ee44874eafab93034db234dc5 /lib/npm.js
parent38e013d0075be5d1ffb71f06324d3b911ff97ff5 (diff)
make npm commands configurable by default
Diffstat (limited to 'lib/npm.js')
-rw-r--r--lib/npm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/npm.js b/lib/npm.js
index 25b7feab6..3cd21cac1 100644
--- a/lib/npm.js
+++ b/lib/npm.js
@@ -224,7 +224,7 @@ Object.keys(abbrevs).concat(plumbing).forEach(function addCommand (c) {
})
return commandCache[a]
- }, enumerable: fullList.indexOf(c) !== -1 })
+ }, enumerable: fullList.indexOf(c) !== -1, configurable: true })
// make css-case commands callable via camelCase as well
if (c.match(/\-([a-z])/)) {