mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-19 13:18:28 +00:00
setup: fix crash caused by module dependency
This commit is contained in:
parent
b6e7d73089
commit
a1369215c0
|
@ -1,9 +1,10 @@
|
|||
import { existsSync, unlinkSync, appendFileSync } from "fs";
|
||||
import { createInterface } from "readline";
|
||||
import { Cyan, Bright } from "./sub/consoleText.js";
|
||||
import { loadJSON } from "./sub/loadFromFs.js";
|
||||
import { execSync } from "child_process";
|
||||
|
||||
import { version } from "../modules/config.js";
|
||||
const { version } = loadJSON("./package.json");
|
||||
|
||||
let envPath = './.env';
|
||||
let q = `${Cyan('?')} \x1b[1m`;
|
||||
|
|
Loading…
Reference in a new issue