diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.js b/src/utils.js index 5206226..5be9cfe 100644 --- a/src/utils.js +++ b/src/utils.js @@ -198,6 +198,10 @@ const mods = { }) let disabledPath = path.join(modpath, "disabled") + if (! fs.existsSync(disabledPath)) { + fs.mkdirSync(disabledPath) + } + files = fs.readdirSync(disabledPath) files.forEach((file) => { if (fs.statSync(path.join(disabledPath, file)).isDirectory()) { |