1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

write failed responses to stderr

This commit is contained in:
Kyle Spearrin
2019-06-04 21:03:26 -04:00
parent 34d8cd5cac
commit f6bb228249
3 changed files with 7 additions and 6 deletions

View File

@@ -68,8 +68,8 @@ export class Program extends BaseProgram {
});
program.on('command:*', () => {
writeLn(chalk.redBright('Invalid command: ' + program.args.join(' ')));
writeLn('See --help for a list of available commands.', true);
writeLn(chalk.redBright('Invalid command: ' + program.args.join(' ')), false, true);
writeLn('See --help for a list of available commands.', true, true);
process.exitCode = 1;
});