From b849a4d86fc8d42b4291872bed73b59529e45edf Mon Sep 17 00:00:00 2001 From: Oliver Akins Date: Tue, 11 Jan 2022 16:35:45 -0600 Subject: [PATCH] Export the config for commands to be able to access it --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 988f379..332d602 100644 --- a/src/main.ts +++ b/src/main.ts @@ -10,7 +10,7 @@ var log = new Logger({ minLevel: `silly`, }) -var config: config; +export var config: config; try { config = toml.parse(readFileSync("config.toml")); } catch {