From 7e99fd703fc80cc29333d69a80363e921584e07e Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 23 Jun 2021 15:30:55 +0200 Subject: [PATCH] fix(core): update --- ts/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ts/index.ts b/ts/index.ts index 4a5b85e..f6be32b 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -34,6 +34,8 @@ export const runCli = async () => { const pathToTsFile = process.argv[2]; const pathToLoad = path.join(process.cwd(), pathToTsFile); - process.argv.shift(); + console.log(process.argv); + process.argv.pop(); + console.log(process.argv); import(pathToLoad); };