Skip to content

Commit

Permalink
fix typo in param name (microsoft#234167)
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
aeschli authored Nov 19, 2024
1 parent 1843f8e commit 581b080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/base/browser/cssValue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ export function asCSSUrl(uri: URI | null | undefined): CssFragment {
return inline`url(${stringValue(FileAccess.uriToBrowserUri(uri).toString(true))})`;
}

export function className(value: string, escapingExcected = false): CssFragment {
export function className(value: string, escapingExpected = false): CssFragment {
const out = CSS.escape(value);
if (!escapingExcected && out !== value) {
if (!escapingExpected && out !== value) {
console.warn(`CSS class name ${value} modified to ${out} to be safe for CSS`);
}
return asFragment(out);
Expand Down

0 comments on commit 581b080

Please sign in to comment.