Skip to content

Commit

Permalink
chore: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed May 17, 2022
1 parent 4a78c91 commit dd2f6bc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/generateLocales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,7 @@ function generateLocalesIndexFile(
let modules = readdirSync(path);
modules = removeIndexTs(modules);
modules = removeTsSuffix(modules);
modules = modules.sort((a, b) =>
a.toUpperCase().localeCompare(b.toUpperCase())
);
modules.sort();

const content = [autoGeneratedCommentHeader];
let fieldType = '';
Expand Down

0 comments on commit dd2f6bc

Please sign in to comment.