Browse Source

Load sub commands using extensions

master
Leo Lamprecht 8 years ago
parent
commit
03708278df
No known key found for this signature in database GPG Key ID: B08517883D5E0E10
  1. 2
      bin/now.js

2
bin/now.js

@ -76,7 +76,7 @@ if (index > -1) {
cmd = aliases.get(cmd) || cmd
}
const bin = resolve(__dirname, 'now-' + cmd)
const bin = resolve(__dirname, 'now-' + cmd + '.js')
// Prepare process.argv for subcommand
process.argv = process.argv.slice(0, 2).concat(args)

Loading…
Cancel
Save