Upgrade the live-plugin-manager

This commit is contained in:
yacchin1205 2024-05-21 08:02:17 +00:00 committed by SamTV12345
parent 2e12906ff5
commit 8b6f39ac4f
2 changed files with 2 additions and 3 deletions

View file

@ -51,7 +51,7 @@
"jsonminify": "0.4.2", "jsonminify": "0.4.2",
"jsonwebtoken": "^9.0.2", "jsonwebtoken": "^9.0.2",
"languages4translatewiki": "0.1.3", "languages4translatewiki": "0.1.3",
"live-plugin-manager": "^0.20.0", "live-plugin-manager": "^1.0.0",
"lodash.clonedeep": "4.5.0", "lodash.clonedeep": "4.5.0",
"log4js": "^6.9.1", "log4js": "^6.9.1",
"measured-core": "^2.0.0", "measured-core": "^2.0.0",

View file

@ -129,8 +129,7 @@ exports.getPackages = async () => {
if (!plugin.name.startsWith(exports.prefix)) { if (!plugin.name.startsWith(exports.prefix)) {
continue; continue;
} }
plugin.realPath = await fs.realpath(plugin.location); plugin.path = plugin.realPath = plugin.location;
plugin.path = plugin.realPath;
newDependencies[plugin.name] = plugin; newDependencies[plugin.name] = plugin;
} }