fix(core): update
This commit is contained in:
parent
3926a66d1d
commit
17a7749f23
2
cli.js
2
cli.js
@ -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();
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user