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

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/ll.js')
-rw-r--r--deps/npm/lib/ll.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/deps/npm/lib/ll.js b/deps/npm/lib/ll.js
index ada260e3293..1d5a6217da9 100644
--- a/deps/npm/lib/ll.js
+++ b/deps/npm/lib/ll.js
@@ -1,6 +1,9 @@
const { usage, completion } = require('./ls.js')
const npm = require('./npm.js')
-module.exports = Object.assign((args, cb) => {
+
+const cmd = (args, cb) => {
npm.config.set('long', true)
return npm.commands.ls(args, cb)
-}, { usage, completion })
+}
+
+module.exports = Object.assign(cmd, { usage, completion })