fix(core): update

This commit is contained in:
Philipp Kunz 2022-03-11 17:38:54 +01:00
parent 3926a66d1d
commit 17a7749f23
2 changed files with 3 additions and 3 deletions

2
cli.js
View File

@ -1,4 +1,4 @@
#!/usr/bin/env node #!/usr/bin/env node
process.env.CLI_CALL = 'true'; process.env.CLI_CALL = 'true';
const cliTool = require('./dist_ts/index'); const cliTool = await import('./dist_ts/index');
cliTool.runCli(); cliTool.runCli();

View File

@ -1,5 +1,5 @@
#!/usr/bin/env node #!/usr/bin/env node
process.env.CLI_CALL = 'true'; process.env.CLI_CALL = 'true';
require('@gitzone/tsrun'); await import('@gitzone/tsrun');
const cliTool = require('./ts/index'); const cliTool = await import('./ts/index');
cliTool.runCli(); cliTool.runCli();