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 {