diff options
Diffstat (limited to 'deps/npm/lib/ll.js')
-rw-r--r-- | deps/npm/lib/ll.js | 7 |
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 }) |