Skip to content

Commit

Permalink
chore: generate consistent definition order for locales (#965)
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored May 18, 2022
1 parent c3250c3 commit 3af4833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/generateLocales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ function generateLocalesIndexFile(
let modules = readdirSync(path);
modules = removeIndexTs(modules);
modules = removeTsSuffix(modules);
modules.sort();

const content = [autoGeneratedCommentHeader];
let fieldType = '';
Expand Down
2 changes: 1 addition & 1 deletion src/locales/ro/address/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ const address: AddressDefinitions = {
secondary_address,
state,
state_abbr,
streets,
street_address,
street_name,
street_suffix,
streets,
};

export default address;

0 comments on commit 3af4833

Please sign in to comment.