fixup! Fix: don't display rule id if undefined
This commit is contained in:
parent
1e807e08d5
commit
263b93cb96
|
@ -147,7 +147,7 @@ Object.assign(linter, (() => {
|
||||||
line.textContent = anno.from.line + 1;
|
line.textContent = anno.from.line + 1;
|
||||||
col.textContent = anno.from.ch + 1;
|
col.textContent = anno.from.ch + 1;
|
||||||
message.title = clipString(anno.message, 1000) +
|
message.title = clipString(anno.message, 1000) +
|
||||||
anno.rule ? `\n(${anno.rule})` : '';
|
(anno.rule ? `\n(${anno.rule})` : '');
|
||||||
message.textContent = clipString(anno.message, 100);
|
message.textContent = clipString(anno.message, 100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user