From 08b700bb14e5e12c1dff283e2eef729816a97f15 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 26 Jun 2022 20:57:06 -0300 Subject: lots of fixes from eslint --- src/repl.js | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/repl.js') diff --git a/src/repl.js b/src/repl.js index 5a6334a..bd447be 100644 --- a/src/repl.js +++ b/src/repl.js @@ -3,32 +3,23 @@ import * as os from 'os'; import * as path from 'path'; import * as repl from 'repl'; -import {fileURLToPath} from 'url'; -import {promisify} from 'util'; import {quickLoadAllFromYAML} from './data/yaml.js'; import {logError, parseOptions} from './util/cli.js'; import {showAggregate} from './util/sugar.js'; -const __dirname = path.dirname(fileURLToPath(import.meta.url)); - async function main() { const miscOptions = await parseOptions(process.argv.slice(2), { 'data-path': { type: 'value', }, - 'show-traces': { - type: 'flag', - }, - 'no-history': { type: 'flag', }, }); const dataPath = miscOptions['data-path'] || process.env.HSMUSIC_DATA; - const showAggregateTraces = miscOptions['show-traces'] ?? false; const disableHistory = miscOptions['no-history'] ?? false; if (!dataPath) { -- cgit 1.3.0-6-gf8a5