Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 484fecc

Browse files
committed
chore(presubmit): correct condition
1 parent 4ca53ba commit 484fecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/travis/presubmit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ echo Test result is: $TRAVIS_TEST_RESULT
1313

1414
if [ "$CHANNEL" = "stable" ] && [ "$TRAVIS_REPO_SLUG" = "angular/angular.dart" ]; then
1515

16-
if [ $TRAVIS_TEST_RESULT -eq 0 ] && [ $TRAVIS_BRANCH = presubmit-* ]; then
16+
if [ $TRAVIS_TEST_RESULT -eq 0 ] && [[ $TRAVIS_BRANCH == "presubmit-"* ]]; then
1717

1818
git config credential.helper "store --file=.git/credentials"
1919
echo "https://${GITHUB_TOKEN_ANGULARDART}:@github.com" > .git/credentials

0 commit comments

Comments
 (0)