Lots of package updates.
This commit is contained in:
parent
83c2d24381
commit
5edeea4573
3 changed files with 2860 additions and 2424 deletions
server
|
@ -19,8 +19,12 @@ export function parseCommandLine(): void {
|
|||
let commandLineOptions;
|
||||
try {
|
||||
commandLineOptions = commandLineArgs(commandLineDefs);
|
||||
} catch (e) {
|
||||
console.error(e.message);
|
||||
} catch (e: any) {
|
||||
if (e.message) {
|
||||
console.error(e.message);
|
||||
} else {
|
||||
console.error(e);
|
||||
}
|
||||
console.error('Try \'--help\' for more information.');
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue