Skip to content

Commit

Permalink
Update i18n-check.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Jun 7, 2024
1 parent 3c70398 commit cbe78b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/i18n-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function main() {
if [[ -z $LASTCOMMIT ]]; then
# Get last commit of `main` that this branch is rooted from.
LASTCOMMIT=$(git merge-base main HEAD)
elif ! (git branch --contains $LASTCOMMIT | grep -q "^\s*main\b"); then
elif ! git branch --contains $LASTCOMMIT | grep -q "^\s*main\b"; then # HERE
# Get last commit of `main` that this branch is rooted from.
LASTCOMMIT=$(git merge-base main HEAD)
fi
Expand Down

0 comments on commit cbe78b9

Please sign in to comment.