mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-29 16:29:19 +02:00
lol
This commit is contained in:
+1
-1
@@ -80,8 +80,8 @@ if (process.platform === 'win32') {
|
||||
|
||||
const pluginConfigs = [];
|
||||
readJSFiles(pluginsDir).forEach(file => {
|
||||
const dir = fs.statSync(filePath).isDirectory();
|
||||
var filePath = path.join(pluginsDir, file);
|
||||
const dir = fs.statSync(filePath).isDirectory();
|
||||
if(dir) filePath = path.join(pluginsDir, file, file);
|
||||
|
||||
const config = parsePluginConfig(filePath);
|
||||
|
||||
Reference in New Issue
Block a user