mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-19 06:07:40 +00:00
chore(developer): add new severity types to message command
This commit is contained in:
parent
f9cb1927c9
commit
d4513a1d51
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ function allMessageDetails(): CompilerMessageDetail[] {
|
|||
const toTitleCase = (s: string) => s.substring(0, 1).toUpperCase() + s.substring(1).toLowerCase();
|
||||
|
||||
function getMessageDetail(cls: any, id: string, escapeMarkdown: boolean): CompilerEvent {
|
||||
const o = /^(INFO|HINT|WARN|ERROR|FATAL)_([A-Za-z0-9_]+)$/.exec(id);
|
||||
const o = /^(DEBUG|VERBOSE|INFO|HINT|WARN|ERROR|FATAL)_([A-Za-z0-9_]+)$/.exec(id);
|
||||
if(!o) {
|
||||
throw new Error(`Unexpected compiler message ${id}, does not match message error format`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue