Fix utils/check_bad_commit.py (for auto ping in CI) (#34943)

* fix

* fix

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2024-11-28 15:34:38 +01:00
committed by GitHub
parent 5e8c1d713d
commit 6300212946

View File

@@ -46,7 +46,7 @@ result = subprocess.run(
print(result.stdout)
if len(result.stderr) > 0:
if "ERROR: not found: " in result.stderr:
if "ERROR: file or directory not found: " in result.stderr:
print("test not found in this commit")
exit(0)
else: