Skip to content

Commit

Permalink
refactor: Prefix fatal errors with dedicated severity text
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomByte committed Jun 3, 2024
1 parent ea8e258 commit 6e3ffdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/formatter/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export class Text {
this.#writeln(
` ${formattedLocation} ` +
`${formatSeverity(msg.severity)} ` +
`${msg.fatal ? "Fatal error: " : ""}` +
`${msg.message}` +
`${formatMessageDetails(msg, showDetails)}`);
});
Expand Down

0 comments on commit 6e3ffdb

Please sign in to comment.