fix(core): update
This commit is contained in:
@ -3,9 +3,11 @@ import * as path from 'path';
|
||||
|
||||
tsNode.register({
|
||||
compilerOptions: {
|
||||
lib: ['es2016', 'es2017']
|
||||
lib: [ 'es2016', 'es2017' ]
|
||||
}
|
||||
});
|
||||
|
||||
const pathToLoad = path.join(process.cwd(), process.argv.pop());
|
||||
import(pathToLoad);
|
||||
if (process.env.CLI_CALL) {
|
||||
const pathToLoad = path.join(process.cwd(), process.argv.pop());
|
||||
import(pathToLoad);
|
||||
}
|
||||
|
Reference in New Issue
Block a user