Skip to content

Commit

Permalink
Merge pull request #19264 from lnicola/theme-color
Browse files Browse the repository at this point in the history
minor: Fix transparent diagnostics
  • Loading branch information
lnicola authored Mar 2, 2025
2 parents 7273d71 + b1a1aa4 commit 0834d7c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions editors/code/src/diagnostics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,6 @@ export class AnsiDecorationProvider implements vscode.Disposable {
}
}

const themeColor = AnsiDecorationProvider._anserToThemeColor[color];
if (themeColor) {
return new ThemeColor("terminal." + themeColor);
}

return undefined;
return AnsiDecorationProvider._anserToThemeColor[color];
}
}

0 comments on commit 0834d7c

Please sign in to comment.