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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user