diff --git a/ts/index.ts b/ts/index.ts index 4ac6619..243cee6 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -42,7 +42,7 @@ switch (command){ .then(NpmciEnv.configStore); break; case "command": - command() + command2() .then(NpmciEnv.configStore); break; case "install": diff --git a/ts/npmci.command.ts b/ts/npmci.command.ts index 309ee59..4a942f9 100644 --- a/ts/npmci.command.ts +++ b/ts/npmci.command.ts @@ -2,7 +2,7 @@ import "typings-global"; import * as plugins from "./npmci.plugins"; import {bash} from "./npmci.bash"; -export let command = (commandArg) => { +export let command = () => { let done = plugins.q.defer() console.log(process.argv); done.resolve();