ci: robustify doc only change check (#23237)

This commit is contained in:
John Kleinschmidt
2020-04-23 11:01:30 -04:00
committed by GitHub
parent 8262f24fd8
commit 8b0dcfaa74

View File

@@ -39,7 +39,7 @@ async function checkIfDocOnlyChange () {
return true;
}
});
if (nonDocChange) {
if (nonDocChange || filesChanged.data.length === 0) {
process.exit(1);
} else {
process.exit(0);