fix: pluginPaths

This commit is contained in:
Barış Soner Uşaklı
2021-08-23 21:41:08 -04:00
parent 13878e9f14
commit 0743554dd4

View File

@@ -23,7 +23,7 @@ Data.getPluginPaths = async function () {
winston.warn(`[plugins] "${plugins[i]}" is active but not installed.`); winston.warn(`[plugins] "${plugins[i]}" is active but not installed.`);
} }
}); });
return plugins.filter((p, i) => exists[i]); return pluginPaths.filter((p, i) => exists[i]);
}; };
Data.loadPluginInfo = async function (pluginPath) { Data.loadPluginInfo = async function (pluginPath) {