fix(core): update

This commit is contained in:
Philipp Kunz 2021-06-23 15:30:55 +02:00
parent fa5462c0bc
commit 7e99fd703f

View File

@ -34,6 +34,8 @@ export const runCli = async () => {
const pathToTsFile = process.argv[2]; const pathToTsFile = process.argv[2];
const pathToLoad = path.join(process.cwd(), pathToTsFile); const pathToLoad = path.join(process.cwd(), pathToTsFile);
process.argv.shift(); console.log(process.argv);
process.argv.pop();
console.log(process.argv);
import(pathToLoad); import(pathToLoad);
}; };