Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d6aeef8

Browse files
committed
Update if statment
1 parent 9cc08bd commit d6aeef8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.travis/run_sonar_scanner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if [ "${TRAVIS_REPO_SLUG}" = "${UTPLSQL_REPO}" ] && [[ ! "${BRANCH}" =~ ^(releas
3939
echo "Updating sonar properties to include branch ${BRANCH}"
4040
add_sonar_property "${BRANCH_SONAR_PROPERTY}" "${BRANCH}"
4141
add_sonar_property "${BRANCH_SONAR_TARGET_PROPERTY}" "${MAIN_DEV_BRANCH}"
42-
elif [ "${TRAVIS_PULL_REQUEST_SLUG}" = "${TRAVIS_REPO_SLUG}" ]
42+
elif [ "${TRAVIS_PULL_REQUEST_SLUG}" = "${TRAVIS_REPO_SLUG}" ]; then
4343
echo "Updating sonar properties to include pull request ${BRANCH}"
4444
add_sonar_property "${PR_SONAR_TOKEN_PROPERTY}" "${GITHUB_TRAVISCI_TOKEN}"
4545
add_sonar_property "${PR_SONAR_BRANCH_PROPERTY}" "${BRANCH}"

0 commit comments

Comments
 (0)