summaryrefslogtreecommitdiff
path: root/deps/npm/lib/set.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/set.js')
-rw-r--r--deps/npm/lib/set.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/npm/lib/set.js b/deps/npm/lib/set.js
index d821095157..c83602ec1f 100644
--- a/deps/npm/lib/set.js
+++ b/deps/npm/lib/set.js
@@ -8,5 +8,6 @@ var npm = require("./npm.js")
set.completion = npm.commands.config.completion
function set (args, cb) {
+ if (!args.length) return cb(set.usage)
npm.commands.config(["set"].concat(args), cb)
}