Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

Commit 38a1aa7

Browse files
committed
Fix lint severity
1 parent 8a0ae7f commit 38a1aa7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/adapters.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/adapters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function convertMessages(msg: Linter.Message): UPI.IResultItem {
4848
message: { highlighter: 'hint.message.haskell', text: msg.excerpt },
4949
position: msg.location.position.start,
5050
uri: msg.location.file,
51-
severity: msg.severity,
51+
severity: msg.severity === 'info' ? 'lint' : msg.severity,
5252
}
5353
}
5454

0 commit comments

Comments
 (0)