diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-11-09 20:16:30 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-11-09 20:16:30 -0400 |
commit | 1d991bb4bc877363532971a74f70e55939c637bb (patch) | |
tree | 45f368639455f17ba45c377e770b7763c3a3bd59 /src/upd8.js | |
parent | f6a0bf1d7b4652a7dd04ed3340010ee2a6e47b7f (diff) |
upd8, data, test: export internal strings path cleanly, fix tests
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/upd8.js b/src/upd8.js index 24d0b92b..db73c412 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -39,7 +39,8 @@ import {fileURLToPath} from 'node:url'; import wrap from 'word-wrap'; import {displayCompositeCacheAnalysis} from '#composite'; -import {processLanguageFile, watchLanguageFile} from '#language'; +import {processLanguageFile, watchLanguageFile, internalDefaultStringsFile} + from '#language'; import {isMain, traverse} from '#node-utils'; import bootRepl from '#repl'; import {empty, showAggregate, withEntries} from '#sugar'; @@ -93,8 +94,6 @@ try { const BUILD_TIME = new Date(); -export const DEFAULT_STRINGS_FILE = 'strings-default.yaml'; - const STATUS_NOT_STARTED = `not started`; const STATUS_NOT_APPLICABLE = `not applicable`; const STATUS_STARTED_NOT_DONE = `started but not yet done`; @@ -1104,8 +1103,6 @@ async function main() { let internalDefaultLanguage; let internalDefaultLanguageWatcher; - const internalDefaultStringsFile = path.join(__dirname, DEFAULT_STRINGS_FILE); - let errorLoadingInternalDefaultLanguage = false; if (noLanguageReloading) { |