From 03708278df90c9036be8ae36401a47ec08db2b57 Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Tue, 10 Jan 2017 19:42:10 +0100 Subject: [PATCH] Load sub commands using extensions --- bin/now.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/now.js b/bin/now.js index 42675cc..c679805 100755 --- a/bin/now.js +++ b/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)