fix(core): update
This commit is contained in:
parent
fa5462c0bc
commit
7e99fd703f
@ -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);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user