Skip to content

Commit

Permalink
re-introduce red color in logFatal
Browse files Browse the repository at this point in the history
  • Loading branch information
nomo-app authored Dec 4, 2023
1 parent 0bc1828 commit a95cfc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function logFatal(msg: string): never {
if (isUnitTest()) {
throw new Error(`ERROR: ${msg}`);
} else {
console.error(`ERROR: ${msg}`);
console.error("\x1b[31m", `ERROR: ${msg}`);
process.exit(1);
}

Expand Down

0 comments on commit a95cfc8

Please sign in to comment.