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 { log } from "@/main";
|
||||
import toml from "toml";
|
||||
import Joi from "joi";
|
||||
|
||||
|
|
@ -58,8 +57,7 @@ export function loadConfig(): IConfig {
|
|||
});
|
||||
|
||||
if (error) {
|
||||
log.error(`Configuration object failed to validate`)
|
||||
log.error(error);
|
||||
console.error(error);
|
||||
process.exit(1);
|
||||
};
|
||||
return value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue