From 2c6b9558196f9f1190bf8805344a3ad202902e24 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sun, 13 Mar 2022 00:02:20 +0100 Subject: [PATCH] fix(core): update --- ts/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/index.ts b/ts/index.ts index 7212ccf..575ab78 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -20,7 +20,7 @@ export const runCli = async (pathArg?: string) => { // we want to have command line arguments available in the child process. // when we have a path sepcified through a function there is one argeument less to pay respect to. // thus when pathArg is specifed -> we only splice 2 - pathArg? process.argv.splice(0, 2) : process.argv.splice(0, 3); // this ensures transparent arguments for the child process + pathArg ? process.argv.splice(0, 2) : process.argv.splice(0, 3); // this ensures transparent arguments for the child process // lets setup things for execution const smartshellInstance = new plugins.smartshell.Smartshell({