Export the config for commands to be able to access it

This commit is contained in:
Oliver Akins 2022-01-11 16:35:45 -06:00
parent 7057c6aab9
commit b849a4d86f
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -10,7 +10,7 @@ var log = new Logger({
minLevel: `silly`, minLevel: `silly`,
}) })
var config: config; export var config: config;
try { try {
config = toml.parse(readFileSync("config.toml")); config = toml.parse(readFileSync("config.toml"));
} catch { } catch {