Skip to content

Commit

Permalink
fix: formatsTo uppercase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jeronimoek committed Jan 19, 2025
1 parent 330ebdc commit c8e8dd1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,7 @@ class Picker implements vscode.Disposable {
}

const formatsFiltered = colorFormatsTo.filter((format) =>
isSettingEnabled(
formatsTo.map((f) => f.toLocaleUpperCase()),
format
)
isSettingEnabled(formatsTo, format)
);

let representations = formatsFiltered.map((reprType) =>
Expand Down

0 comments on commit c8e8dd1

Please sign in to comment.