From bd2b2dd3787f28ce235661bf470261b7ff18f396 Mon Sep 17 00:00:00 2001 From: smikes Date: Thu, 26 Feb 2015 13:20:21 -0700 Subject: make npm commands configurable by default --- lib/npm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/npm.js') 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])/)) { -- cgit v1.2.3