Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Tickett <lee@tickett.net>2022-07-06 10:39:38 +0300
committerLee Tickett <lee@tickett.net>2022-07-06 10:39:38 +0300
commit3f0940c57d1c936da5b0a39448b6e2e0fcb7067a (patch)
treed3575d0c335bfbd832d32277f4b3e195fa6e16cc
parentfedb6378a3c92274ba3b6031df0d34455594e4cc (diff)
Remove superfluous wildcards in pathsleetickett-main-patch-37311
-rwxr-xr-xtasks/unlinked-images.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/unlinked-images.sh b/tasks/unlinked-images.sh
index a210cc48..2f12d611 100755
--- a/tasks/unlinked-images.sh
+++ b/tasks/unlinked-images.sh
@@ -7,7 +7,7 @@ if [[ -z "$1" ]]; then
exit 1
fi
-for FILE in $(git ls-files ./"$1"/*.png ./"$1"/**/*.gif ./"$1"/**/*.jpg); do
+for FILE in $(git ls-files ./"$1"/*.png ./"$1"/*.gif ./"$1"/*.jpg); do
if ! git grep "$(basename "$FILE")" > /dev/null; then echo "Unlinked file: $FILE"; unlinked_files+=1; fi
done