From 4d0ef0ca26afc9dc70fbc942dd05beca19e2f0a6 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Sat, 15 Jan 2022 03:18:17 +0100 Subject: fix wrong path.join() --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/utils.js b/src/utils.js index 4cdb5f5..e6fa5b0 100644 --- a/src/utils.js +++ b/src/utils.js @@ -272,7 +272,7 @@ const mods = { let disabled = []; if (! fs.existsSync(modpath)) { - fs.mkdirSync(path.join(modpath + "disabled"), {recursive: true}) + fs.mkdirSync(path.join(modpath, "disabled"), {recursive: true}) return { enabled: [], disabled: [], -- cgit v1.2.3