Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit c23a8a6

Browse files
authored
Merge pull request #101 from lucasdf/cast_note_to_info
Treat messages of level `note` as info
2 parents 4e3c909 + 3f82860 commit c23a8a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default {
6363
const messages = [];
6464
let match = regex.exec(output);
6565
while (match !== null) {
66-
const type = match[3];
66+
const type = match[3] !== 'note' ? match[3] : 'info';
6767
if (showAll || type === 'warning' || type === 'error') {
6868
const line = Number.parseInt(match[1], 10) - 1;
6969
const col = Number.parseInt(match[2], 10) - 1;

0 commit comments

Comments
 (0)