Remove use of the log since it doesn't exist yet.
This commit is contained in:
parent
25aeb8bc9e
commit
13711e5986
1 changed files with 1 additions and 3 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
import { readFileSync } from "fs";
|
import { readFileSync } from "fs";
|
||||||
import { log } from "@/main";
|
|
||||||
import toml from "toml";
|
import toml from "toml";
|
||||||
import Joi from "joi";
|
import Joi from "joi";
|
||||||
|
|
||||||
|
|
@ -58,8 +57,7 @@ export function loadConfig(): IConfig {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (error) {
|
if (error) {
|
||||||
log.error(`Configuration object failed to validate`)
|
console.error(error);
|
||||||
log.error(error);
|
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
};
|
};
|
||||||
return value;
|
return value;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue