Fix utils/check_bad_commit.py (#37272)
fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -47,6 +47,9 @@ print(result.stdout)
|
|||||||
|
|
||||||
if len(result.stderr) > 0:
|
if len(result.stderr) > 0:
|
||||||
if "ERROR: file or directory not found: " in result.stderr:
|
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")
|
print("test not found in this commit")
|
||||||
exit(0)
|
exit(0)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user