Skip to content

Commit

Permalink
Merge pull request #856 from mitsu-ksgr/accept_uppercase_json
Browse files Browse the repository at this point in the history
Accept the ".JSON" (uppercase) file.
  • Loading branch information
yoichiro authored Dec 17, 2024
2 parents 699f490 + 410c1d6 commit f9f067b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/storage/Validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export type ValidateKeyboardDefinitionSchemaResult = {
};

export const isJsonFile = (file: File): boolean => {
return file.name.endsWith('.json');
return file.name.toLowerCase().endsWith('.json');
};

export const validateIds = (
Expand Down

0 comments on commit f9f067b

Please sign in to comment.