From 5b4269fed9400aa3d21c3ed1f42b939bec9baa30 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sun, 18 Dec 2022 23:13:48 -0700 Subject: [PATCH] Fixed code error --- get-changed-paths.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-changed-paths.sh b/get-changed-paths.sh index 6aaa3929efc..d8470152748 100755 --- a/get-changed-paths.sh +++ b/get-changed-paths.sh @@ -85,7 +85,7 @@ function get_diff() { exit 1 fi else - if [[ $DIFF == "..." ]]]]; then + if [[ $DIFF == "..." ]]; then git diff --diff-filter="$filter" --name-only --ignore-submodules=all "$base$DIFF$sha" && exit_status=$? || exit_status=$? else git log --first-parent --no-merges --pretty="format:" --diff-filter="$filter" --name-only --ignore-submodules=all "$base$DIFF$sha" && exit_status=$? || exit_status=$?