mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 07:24:52 +09:00
Fix lint error
This commit is contained in:
1 file changed
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user