summaryrefslogtreecommitdiff
path: root/src/config/funcs.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/funcs.ts')
-rw-r--r--src/config/funcs.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config/funcs.ts b/src/config/funcs.ts
index bf181fb..253164e 100644
--- a/src/config/funcs.ts
+++ b/src/config/funcs.ts
@@ -85,7 +85,8 @@ const updateSection = (from: { [k: string]: any }, to: { [k: string]: any }, pat
export const updateConfig = async () => {
updateSection(deepMerge(defaults, JSON.parse(await readFileAsync(CONFIG))), config);
- loadStyleAsync().catch(console.error);
+ await loadStyleAsync();
+ console.log("[LOG] Config updated");
};
export const initConfig = async () => {