mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 11:10:45 +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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user