Skip to content

Commit

Permalink
fix: import config script (#7380)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone authored Nov 8, 2024
1 parent 028e8df commit 6dbfec1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/config/maintenance/importConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,17 @@ import { AssertionError, ok } from "node:assert";
import * as child from "node:child_process";
import fs from "node:fs/promises";
import * as path from "node:path";
import { fileURLToPath } from "node:url";
import { promisify } from "node:util";
import { compare } from "semver";
import xml2js from "xml2js";
import xml2js_parsers from "xml2js/lib/processors.js";
import yargs from "yargs";
import { hideBin } from "yargs/helpers";
import { ConfigManager } from "../src/ConfigManager.js";
import { DeviceConfigIndexEntry } from "../src/devices/DeviceConfig.js";
import { type DeviceConfigIndexEntry } from "../src/devices/DeviceConfig.js";

const __dirname = path.dirname(fileURLToPath(import.meta.url));

const execPromise = promisify(child.exec);
const yargsInstance = yargs(hideBin(process.argv));
Expand Down

0 comments on commit 6dbfec1

Please sign in to comment.