api/setup: fix wrong misc path

This commit is contained in:
GuriZenit 2024-09-14 02:06:36 -03:00 committed by wukko
parent 0ccd08470b
commit 99937f61f6

View file

@ -1,7 +1,7 @@
import { existsSync, unlinkSync, appendFileSync } from "fs"; import { existsSync, unlinkSync, appendFileSync } from "fs";
import { createInterface } from "readline"; import { createInterface } from "readline";
import { Cyan, Bright } from "./misc/console-text.js"; import { Cyan, Bright } from "../misc/console-text.js";
import { loadJSON } from "./misc/load-from-fs.js"; import { loadJSON } from "../misc/load-from-fs.js";
import { execSync } from "child_process"; import { execSync } from "child_process";
const { version } = loadJSON("./package.json"); const { version } = loadJSON("./package.json");