mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-14 20:58:08 +00:00
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:
parent
5e8c1d713d
commit
6300212946
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue