From f0df9ef7bbd6d8e4381663282d0173064509c0df Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 16 Feb 2024 08:36:29 -0400 Subject: write: repl: drop a lot of dead imports --- src/write/build-modes/repl.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/write/build-modes/repl.js b/src/write/build-modes/repl.js index 1a9fbd3e..ec23a375 100644 --- a/src/write/build-modes/repl.js +++ b/src/write/build-modes/repl.js @@ -30,15 +30,9 @@ export function getCLIOptions() { import * as os from 'node:os'; import * as path from 'node:path'; import * as repl from 'node:repl'; -import {fileURLToPath} from 'node:url'; -import {logError, logWarn, parseOptions} from '#cli'; +import {logWarn} from '#cli'; import {debugComposite} from '#composite'; -import {internalDefaultStringsFile, processLanguageFile} from '#language'; -import {isMain} from '#node-utils'; -import {bindOpts, showAggregate} from '#sugar'; -import {generateURLs, urlSpec} from '#urls'; -import {quickLoadAllFromYAML} from '#yaml'; import _find, {bindFind} from '#find'; import CacheableObject from '#cacheable-object'; @@ -47,8 +41,6 @@ import * as serialize from '#serialize'; import * as sugar from '#sugar'; import * as wikiDataUtils from '#wiki-data'; -const __dirname = path.dirname(fileURLToPath(import.meta.url)); - export async function getContextAssignments({ dataPath, mediaPath, -- cgit 1.3.0-6-gf8a5