fix: repair ci lint and clawhub fixtures

This commit is contained in:
Peter Steinberger
2026-05-02 01:15:20 +01:00
parent 0217db5387
commit 25d3f11243
2 changed files with 9 additions and 1 deletions

View File

@@ -85,7 +85,7 @@ function resolveChannelPackageStateChecker(params: {
const allOf = metadata.env?.allOf ?? [];
const anyOf = metadata.env?.anyOf ?? [];
return (
(allOf.length === 0 || allOf.every((key) => hasNonEmptyEnvValue(env, key))) &&
allOf.every((key) => hasNonEmptyEnvValue(env, key)) &&
(anyOf.length === 0 || anyOf.some((key) => hasNonEmptyEnvValue(env, key)))
);
};

View File

@@ -115,6 +115,10 @@ describe("collectClawHubVersionGateErrors", () => {
{
name: "@openclaw/demo-plugin",
version: "2026.4.1",
repository: {
type: "git",
url: "https://github.com/openclaw/openclaw",
},
openclaw: {
extensions: ["./index.ts"],
compat: {
@@ -278,6 +282,10 @@ function createTempPluginRepo(
{
name: `@openclaw/${currentExtensionId}`,
version: "2026.4.1",
repository: {
type: "git",
url: "https://github.com/openclaw/openclaw",
},
openclaw: {
extensions: ["./index.ts"],
...(options.includeClawHubContract === false