diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-11-08 19:54:01 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-11-08 19:54:01 -0400 |
commit | 9bf4b59f608022ab0ca2cadc4acff7bb6760ebd2 (patch) | |
tree | 85d5a72393a6e2b98cb75ffe7283c4b29964cc07 /src/repl.js | |
parent | 17fbc9a59bafd1ae23b5f904f2225841c0201728 (diff) |
content, repl: minor fixes and tweaks
Diffstat (limited to 'src/repl.js')
-rw-r--r-- | src/repl.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/repl.js b/src/repl.js index ead01567..7a6f5c45 100644 --- a/src/repl.js +++ b/src/repl.js @@ -16,6 +16,8 @@ import * as serialize from '#serialize'; import * as sugar from '#sugar'; import * as wikiDataUtils from '#wiki-data'; +import {DEFAULT_STRINGS_FILE} from './upd8.js'; + const __dirname = path.dirname(fileURLToPath(import.meta.url)); export async function getContextAssignments({ @@ -46,7 +48,7 @@ export async function getContextAssignments({ language = await processLanguageFile( path.join( path.dirname(fileURLToPath(import.meta.url)), - 'strings-default.json')); + DEFAULT_STRINGS_FILE)); } catch (error) { console.error(error); logWarn`Failed to create Language object`; |