ci: allow empty extension channel lint

This commit is contained in:
Peter Steinberger
2026-04-20 16:58:03 +01:00
parent d2e2d971b6
commit f3bc22d577
2 changed files with 5 additions and 1 deletions

View File

@@ -28,7 +28,10 @@ export function runExtensionOxlint(params) {
);
if (extensionFiles.length === 0) {
console.error(params.emptyMessage);
console.log(params.emptyMessage);
if (params.allowEmpty === true) {
return;
}
process.exit(1);
}

View File

@@ -7,4 +7,5 @@ runExtensionOxlint({
lockName: "oxlint-extension-channels",
tempDirPrefix: "openclaw-extension-channel-oxlint-",
emptyMessage: "No extension channel files found.",
allowEmpty: true,
});