mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-24 11:46:19 +01:00
setup: fix crash caused by module dependency
merge pull request #329 from dumbmoron/fix-setup
This commit is contained in:
commit
cb1046bd71
1 changed files with 2 additions and 1 deletions
|
@ -1,9 +1,10 @@
|
||||||
import { existsSync, unlinkSync, appendFileSync } from "fs";
|
import { existsSync, unlinkSync, appendFileSync } from "fs";
|
||||||
import { createInterface } from "readline";
|
import { createInterface } from "readline";
|
||||||
import { Cyan, Bright } from "./sub/consoleText.js";
|
import { Cyan, Bright } from "./sub/consoleText.js";
|
||||||
|
import { loadJSON } from "./sub/loadFromFs.js";
|
||||||
import { execSync } from "child_process";
|
import { execSync } from "child_process";
|
||||||
|
|
||||||
import { version } from "../modules/config.js";
|
const { version } = loadJSON("./package.json");
|
||||||
|
|
||||||
let envPath = './.env';
|
let envPath = './.env';
|
||||||
let q = `${Cyan('?')} \x1b[1m`;
|
let q = `${Cyan('?')} \x1b[1m`;
|
||||||
|
|
Loading…
Reference in a new issue