Skip to content

Commit

Permalink
Fixed code error
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Dec 19, 2022
1 parent 5b5e7bc commit 23d04d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-changed-paths.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function get_diff() {
done < <(git submodule | awk '{print $2}')

if [[ "$INPUT_DIR_NAMES" == "true" ]]; then
if [[ $DIFF == "..." ]]]]; then
if [[ $DIFF == "..." ]]; then
git diff --diff-filter="$filter" --name-only --ignore-submodules=all "$base$DIFF$sha" | xargs -I {} dirname {} | get_dirname_max_depth | uniq && exit_status=$? || exit_status=$?
else
git log --first-parent --no-merges --pretty="format:" --diff-filter="$filter" --name-only --ignore-submodules=all "$base$DIFF$sha" | xargs -I {} dirname {} | get_dirname_max_depth | uniq && exit_status=$? || exit_status=$?
Expand Down

0 comments on commit 23d04d2

Please sign in to comment.