0
0
Fork 0

Fix order of ternary expression

This commit is contained in:
Oliver-Akins 2021-03-04 14:45:08 -07:00
parent 475f72d99a
commit 3b80f093cb

View file

@ -5,6 +5,7 @@ import startWebsocket from "./websocket";
import { Validate } from "./utils/validate";
import { processExit } from "./utils/cleanup";
import { readdirSync, readFileSync } from "fs";
// import { DiscordTransport } from "./utils/DiscordTransport";
export const conf: config = toml.parse(readFileSync(`server.toml`, `utf-8`));
@ -34,6 +35,8 @@ export const log: Logger = new Logger({
name: `GLOBAL`,
});
// log.attachTransport(new DiscordTransport, "info");
// Ensure the config valid
if (Validate.config(conf)) {