Skip to content

Commit 159116a

Browse files
committed
reformat
1 parent 47e077e commit 159116a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/scripts/update_googleapis_commit.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ fi
6767

6868
# only allow fast-forward merging; exit with non-zero result if there's merging
6969
# conflict.
70-
if git merge -m "chore: merge ${base_branch} into ${current_branch}" "${base_branch}" -ne 0; then
70+
git merge -m "chore: merge ${base_branch} into ${current_branch}" "${base_branch}"
71+
if [[ $? -ne 0 ]]; then
7172
echo "Merge ${base_branch} into ${current_branch} has conflict, exit."
7273
exit 1
7374
fi

0 commit comments

Comments
 (0)