Fix utils/check_bad_commit.py (#37272)

fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2025-04-04 12:18:20 +02:00
committed by GitHub
parent f74d7da836
commit b016de1ae4

View File

@@ -47,6 +47,9 @@ print(result.stdout)
if len(result.stderr) > 0:
if "ERROR: file or directory not found: " in result.stderr:
print("test file or directory not found in this commit")
exit(0)
elif "ERROR: not found: " in result.stderr:
print("test not found in this commit")
exit(0)
else: