Include any message with error

pull/496/head
Frostebite 2023-01-28 01:27:08 +00:00
parent 7ca4c4ffd0
commit 3b14b8fdb5
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@ -532,7 +532,7 @@ class Cli {
program.option('--select <select>', 'select a particular resource');
program.parse(process.argv);
Cli.options = program.opts();
return Cli.isCliMode;
return Cli.isCliMode || process.env.GAMECI_CLI;
}
static RunCli() {
return __awaiter(this, void 0, void 0, function* () {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -56,7 +56,7 @@ export class Cli {
program.parse(process.argv);
Cli.options = program.opts();
return Cli.isCliMode;
return Cli.isCliMode || process.env.GAMECI_CLI;
}
static async RunCli(): Promise<void> {