Skip to content

Commit

Permalink
chore: remove unused function mergeArrays (#2989)
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Jul 1, 2024
1 parent 0679d99 commit e7c9cb9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
3 changes: 1 addition & 2 deletions scripts/generate-locales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,8 @@ async function normalizeLocaleFile(filePath: string, definitionKey: string) {
const compareIndex = fileContent.indexOf(searchString) + searchString.length;
const compareString = fileContent.substring(compareIndex);

const isDynamicFile = compareString.startsWith('mergeArrays');
const isNonApplicable = compareString.startsWith('null');
if (isDynamicFile || isNonApplicable) {
if (isNonApplicable) {
return;
}

Expand Down
12 changes: 0 additions & 12 deletions src/internal/merge.ts

This file was deleted.

0 comments on commit e7c9cb9

Please sign in to comment.