Skip to content

Commit

Permalink
fix: mixer-preset-list check files as uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon authored and olzzon committed Jun 8, 2020
1 parent 7f1eb77 commit ac97d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils/SettingsStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const getMixerPresetList = (fileExtension: string): string[] => {
.readdirSync(path.resolve('storage'))
.filter((file: string) => {
if (
file.includes('.' + fileExtension) &&
file.includes('.' + fileExtension.toUpperCase()) &&
file !== 'default.' + fileExtension
) {
return true
Expand Down

0 comments on commit ac97d70

Please sign in to comment.