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:
-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