Remove use of the log since it doesn't exist yet.

This commit is contained in:
Oliver Akins 2022-07-20 21:21:54 -06:00
parent 25aeb8bc9e
commit 13711e5986
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -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;