Skip to content

Commit 5d02faf

Browse files
committed
Add missing toLowerCase
1 parent 27c499d commit 5d02faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/diagnosticsProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ class DiagnosticsProvider extends AbstractSupport {
337337
|| quickFix.Id == "CS0219" // CS0219: Unused variable
338338
|| quickFix.Id == "CS8019"; // CS8019: Unnecessary using
339339

340-
if (isFadeout && ['hidden', 'none'].includes(quickFix.LogLevel)) {
340+
if (isFadeout && ['hidden', 'none'].includes(quickFix.LogLevel.toLowerCase())) {
341341
// Theres no such thing as hidden severity in VSCode,
342342
// however roslyn uses commonly analyzer with hidden to fade out things.
343343
// Without this any of those doesn't fade anything in vscode.

0 commit comments

Comments
 (0)