mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-16 03:31:10 +00:00
chore: enable consistent-return
This commit is contained in:
@@ -192,6 +192,7 @@ function resolveBundledManifestPluginIdsForContract(contract: ManifestContractKe
|
||||
case "tools":
|
||||
return entry.toolNames.length > 0;
|
||||
}
|
||||
throw new Error("Unsupported manifest contract key");
|
||||
})
|
||||
.map((entry) => entry.pluginId),
|
||||
).toSorted((left, right) => left.localeCompare(right));
|
||||
|
||||
Reference in New Issue
Block a user