From 997ea8691ae526c74cd8d1d0dcacb7bb3612a17f Mon Sep 17 00:00:00 2001 From: Feng Chao Date: Tue, 4 Mar 2025 08:52:32 +0800 Subject: [PATCH] Apply suggestions from code review Add "exit 1" to handle the exception of the diretory doesn't exist Co-authored-by: WANG Xu --- .github/workflows/taosd-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/taosd-ci.yml b/.github/workflows/taosd-ci.yml index f1ba0072f0..f92db448f6 100644 --- a/.github/workflows/taosd-ci.yml +++ b/.github/workflows/taosd-ci.yml @@ -360,6 +360,7 @@ jobs: git checkout "%TARGET_BRANCH%" ) else ( echo Directory does not exist: "%WIN_INTERNAL_ROOT%" + exit 1 ) :: Prepare community repository @@ -372,6 +373,7 @@ jobs: git checkout "%TARGET_BRANCH%" ) else ( echo Directory does not exist: "%WIN_COMMUNITY_ROOT%" + exit 1 ) shell: cmd - name: Get latest codes and logs for TDinternal PR