1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

chalk and source maps

This commit is contained in:
Kyle Spearrin
2018-05-15 10:50:06 -04:00
parent d79cf6d9f8
commit eb83569f2f
7 changed files with 24 additions and 26 deletions

View File

@@ -1,3 +1,4 @@
import * as chk from 'chalk';
import * as program from 'commander';
import { Main } from './bw';
@@ -16,6 +17,8 @@ import { TemplateResponse } from './models/response/templateResponse';
import { Response } from './models/response';
const chalk = chk.default;
export class Program {
constructor(private main: Main) { }
@@ -124,7 +127,7 @@ export class Program {
}
process.exit();
} else {
process.stdout.write(response.message);
process.stdout.write(chalk.redBright(response.message));
process.exit(1);
}
}