mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:50:43 +00:00
ci: allow empty extension channel lint
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -7,4 +7,5 @@ runExtensionOxlint({
|
||||
lockName: "oxlint-extension-channels",
|
||||
tempDirPrefix: "openclaw-extension-channel-oxlint-",
|
||||
emptyMessage: "No extension channel files found.",
|
||||
allowEmpty: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user