From 85d14deb7effd33ba71d01093fbcd7dac19e0027 Mon Sep 17 00:00:00 2001 From: jusax23 Date: Tue, 6 Sep 2022 17:46:36 +0200 Subject: [PATCH] fix links --- config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index 284f379..da46f1c 100644 --- a/config.js +++ b/config.js @@ -35,7 +35,7 @@ export default class fmi { return false; } this.#groups[group][name].set(value); - return true + return true; } save(){ @@ -97,7 +97,7 @@ export default class fmi { }) } else { const pathf = jpath(dir, path); - if (!fs.existsSync(pathf) || !fs.lstatSync(pathf).isFile()) { + if (!fs.existsSync(pathf) || !fs.statSync(pathf).isFile()) { rej("Coud not find File: " + pathf); } else { try {