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); };