Skip to content

Commit

Permalink
Merge pull request #127 from jeronimoek/fix-uppercase-formatsto
Browse files Browse the repository at this point in the history
fix: formatsTo uppercase issue
  • Loading branch information
jeronimoek authored Jan 19, 2025
2 parents 330ebdc + c8e8dd1 commit 53d9fcb
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 53d9fcb

Please sign in to comment.