Skip to content

Commit 8b0dcfa

Browse files
author
John Kleinschmidt
authored
ci: robustify doc only change check (electron#23237)
1 parent 8262f24 commit 8b0dcfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/doc-only-change.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function checkIfDocOnlyChange () {
3939
return true;
4040
}
4141
});
42-
if (nonDocChange) {
42+
if (nonDocChange || filesChanged.data.length === 0) {
4343
process.exit(1);
4444
} else {
4545
process.exit(0);

0 commit comments

Comments
 (0)