fix: update import
This commit is contained in:
parent
6d31f50579
commit
641db83b42
|
@ -1,5 +1,5 @@
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import Config from "@lumeweb/cfg";
|
import { Config } from "@lumeweb/relay-cfg";
|
||||||
import * as os from "os";
|
import * as os from "os";
|
||||||
import * as fs from "fs";
|
import * as fs from "fs";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
@ -34,7 +34,7 @@ config.inject({
|
||||||
|
|
||||||
config.load();
|
config.load();
|
||||||
|
|
||||||
configDir = config.str("core.confDir");
|
configDir = config.str("core.confDir") as string;
|
||||||
|
|
||||||
if (fs.existsSync(configDir)) {
|
if (fs.existsSync(configDir)) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue