diff options
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upd8.js b/src/upd8.js index 4a755abf..81275ad3 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -2040,7 +2040,7 @@ async function wrapLanguages(fn, {writeOneLanguage = null}) { for (let i = 0; i < entries.length; i++) { const [ key, strings ] = entries[i]; - const baseDirectory = (strings === languages.default ? '' : strings.code); + const baseDirectory = (strings === languages.default ? '' : strings.baseDirectory); await fn({ baseDirectory, @@ -2233,7 +2233,7 @@ async function main() { } if (error) return; - languages = Object.fromEntries(results.map(strings => [strings.code, strings])); + languages = Object.fromEntries(results.map(strings => [strings.baseDirectory, strings])); } else { languages = {}; } |