diff options
author | 0neGal <mail@0negal.com> | 2022-01-15 03:18:17 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2022-01-15 03:18:17 +0100 |
commit | 4d0ef0ca26afc9dc70fbc942dd05beca19e2f0a6 (patch) | |
tree | d5e0f300bc3b28541b10296944601a73916be5a0 /src/utils.js | |
parent | 79a43fb5bc980c0641b45f4b1e638a4c570d8e19 (diff) | |
download | Viper-4d0ef0ca26afc9dc70fbc942dd05beca19e2f0a6.tar.gz Viper-4d0ef0ca26afc9dc70fbc942dd05beca19e2f0a6.zip |
fix wrong path.join()
Diffstat (limited to 'src/utils.js')
-rw-r--r-- | src/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
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: [], |