Fix lint error

This commit is contained in:
Cooldude2606 committed 2026-10-05 00:46:06 +01:00
1 parent 4c0c89c5ff
commit 7b2f7064b9
1 file changed
+1 -1
+1 -1
View File
@@ -1134,7 +1134,7 @@ export default class Controller {
try {
const manifestPath = path.posix.join(pluginInfo.requirePath, "dist", "web", "manifest.json");
const resolvedUrl = import.meta.resolve(manifestPath);
const resolvedPath = resolvedUrl.startsWith('file://') ? fileURLToPath(resolvedUrl) : resolvedUrl;
const resolvedPath = resolvedUrl.startsWith("file://") ? fileURLToPath(resolvedUrl) : resolvedUrl;
pluginInfo.manifest = await Controller.loadJsonObject(resolvedPath, true);
} catch (err) {
if (lib.pluginNeedsWebBuild(pluginInfo)) {