From 63002129462aa522dae3ceb39c3e038e3f165874 Mon Sep 17 00:00:00 2001 From: Yih-Dar <2521628+ydshieh@users.noreply.github.com> Date: Thu, 28 Nov 2024 15:34:38 +0100 Subject: [PATCH] Fix `utils/check_bad_commit.py` (for auto ping in CI) (#34943) * fix * fix --------- Co-authored-by: ydshieh --- utils/check_bad_commit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/check_bad_commit.py b/utils/check_bad_commit.py index 45b01537127fac..f5f4a3944b1677 100644 --- a/utils/check_bad_commit.py +++ b/utils/check_bad_commit.py @@ -46,7 +46,7 @@ def create_script(target_test): 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: