mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
ci: robustify doc only change check (#23258)
This commit is contained in:
@@ -39,7 +39,7 @@ async function checkIfDocOnlyChange () {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
if (nonDocChange) {
|
||||
if (nonDocChange || filesChanged.data.length === 0) {
|
||||
process.exit(1);
|
||||
} else {
|
||||
process.exit(0);
|
||||
|
||||
Reference in New Issue
Block a user