fix(core): update

This commit is contained in:
Philipp Kunz 2021-06-23 15:45:34 +02:00
parent d15500d5a0
commit de44be741d

View File

@ -8,6 +8,7 @@ const defaultTsNodeOptions: tsNode.CreateOptions = {
target: <any>'es2017', // Script Target should be a string -> 2 is for ES2015 target: <any>'es2017', // Script Target should be a string -> 2 is for ES2015
experimentalDecorators: true, experimentalDecorators: true,
esModuleInterop: true, esModuleInterop: true,
strictNullChecks: false,
} as CompilerOptions, } as CompilerOptions,
skipIgnore: true, skipIgnore: true,
}; };
@ -34,8 +35,6 @@ 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);
console.log(process.argv);
process.argv.pop(); process.argv.pop();
console.log(process.argv);
import(pathToLoad); import(pathToLoad);
}; };