mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:20:43 +00:00
fix: repair ci lint and clawhub fixtures
This commit is contained in:
@@ -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)))
|
||||
);
|
||||
};
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user