From b22b2fa80268e2ce09e9449283ee099d717823b3 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sat, 11 Jun 2016 20:30:35 +0200 Subject: [PATCH] fix npmci command --- ts/index.ts | 2 +- ts/npmci.command.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();