Skip to content

Commit 1a3d108

Browse files
committed
Fix
1 parent 0aa9cf8 commit 1a3d108

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/util.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ clone_gitlab() (
9898
git clone $URL
9999
cd $repo
100100
set_branch
101-
git checkout $CODE_BRANCH
101+
git checkout $CODE_BRANCH 2>/dev/null || true
102102
)
103103

104104

@@ -116,7 +116,7 @@ clone_github() (
116116
git clone $URL
117117
cd $repo
118118
set_branch
119-
git checkout $CODE_BRANCH
119+
git checkout $CODE_BRANCH 2>/dev/null || true
120120
)
121121

122122

0 commit comments

Comments
 (0)