We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f897273 commit 3afd338Copy full SHA for 3afd338
bin/test-changed-exercise
@@ -8,7 +8,7 @@ BASE_BRANCH=${GITHUB_BASE_REF:-main}
8
git fetch origin "$BASE_BRANCH"
9
10
# Compute merge base
11
-MERGE_BASE=$(git merge-base HEAD origin/$BASE_BRANCH)
+MERGE_BASE=$(git merge-base HEAD origin/"$BASE_BRANCH")
12
13
# Get changed files relative to merge base
14
changed_files=$(git diff --name-only "$MERGE_BASE" HEAD)
0 commit comments