diff --git a/copy_keys.js b/copy_keys.js index a44fef4..1defd61 100644 --- a/copy_keys.js +++ b/copy_keys.js @@ -51,6 +51,7 @@ function updateJSONFiles(baseFileName, directory) { } } + const keys = Object.keys(otherData); // Sort the other data alphabetically by key (case insensitive) const sortedOtherData = {}; keys.sort((a, b) => a.toLowerCase().localeCompare(b.toLowerCase())) diff --git a/dist/index.js b/dist/index.js index ce35c49..c9a0adc 100644 --- a/dist/index.js +++ b/dist/index.js @@ -26644,6 +26644,7 @@ function updateJSONFiles(baseFileName, directory) { } } + const keys = Object.keys(otherData); // Sort the other data alphabetically by key (case insensitive) const sortedOtherData = {}; keys.sort((a, b) => a.toLowerCase().localeCompare(b.toLowerCase()))