mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-29 08:19:19 +02:00
ah fuck
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ readJSFiles(pluginsDir).forEach(file => {
|
||||
const dir = fs.statSync(filePath).isDirectory();
|
||||
if(dir) filePath = path.join(pluginsDir, file, file);
|
||||
|
||||
const config = parsePluginConfig(filePath);
|
||||
var config = parsePluginConfig(filePath);
|
||||
if(dir) config = {...config, prefix: file}
|
||||
else config = {...config, prefix: ""}
|
||||
pluginConfigs.push(config);
|
||||
|
||||
Reference in New Issue
Block a user