Skip to content

Commit

Permalink
[MNT-24604] Use local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cezary-witkowski committed Jan 7, 2025
1 parent 33a64a0 commit 2fac6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/build_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function remoteBranchExists() {
local REMOTE_REPO="${1}"
local BRANCH="${2}"

git ls-remote --exit-code --heads "https://${GIT_USERNAME}:${GIT_PASSWORD}@${REMOTE_REPO}" "${BRANCH_NAME}" &>/dev/null
git ls-remote --exit-code --heads "https://${GIT_USERNAME}:${GIT_PASSWORD}@${REMOTE_REPO}" "${BRANCH}" &>/dev/null
}

function identifyUpstreamSourceBranch() {
Expand Down

0 comments on commit 2fac6c6

Please sign in to comment.