Export the config for commands to be able to access it
This commit is contained in:
parent
7057c6aab9
commit
b849a4d86f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue