*Remove unneeded dash
This commit is contained in:
parent
36a59ce5e6
commit
e1092fb7d8
|
@ -40,7 +40,7 @@ export class PluginApiManager {
|
||||||
|
|
||||||
const paths = [];
|
const paths = [];
|
||||||
for (const modulePath of [`${moduleName}.js`, `${moduleName}.mjs`]) {
|
for (const modulePath of [`${moduleName}.js`, `${moduleName}.mjs`]) {
|
||||||
const fullPath = path.join(config.get("plugin-dir"), modulePath);
|
const fullPath = path.join(config.get("plugindir"), modulePath);
|
||||||
if (fs.existsSync(fullPath)) {
|
if (fs.existsSync(fullPath)) {
|
||||||
paths.push(fullPath);
|
paths.push(fullPath);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue