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
path: root/tasks
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2021-04-14 10:01:28 +0300
committerMarcel Amirault <mamirault@gitlab.com>2021-04-14 10:01:28 +0300
commit27518eed2072f9285169e2bdd8feb1ee342ea4f7 (patch)
tree408c0ac82cd91e9fc736a1efb811cdb7f0aefb59 /tasks
parent0a839748d9eb079563e371988895ecc3b8b85d38 (diff)
Stop testing for unlinked files
We only need to search for unlinked images.
Diffstat (limited to 'tasks')
-rwxr-xr-xtasks/unlinked-images.sh (renamed from tasks/unlinked-files.sh)2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/unlinked-files.sh b/tasks/unlinked-images.sh
index 6310b641..d7c9f704 100755
--- a/tasks/unlinked-files.sh
+++ b/tasks/unlinked-images.sh
@@ -1,3 +1,3 @@
-for FILE in $(git ls-files ./$1/*.png ./$1/**/*.gif ./$1/**/*.jpg ./$1/**/*.md); do
+for FILE in $(git ls-files ./$1/*.png ./$1/**/*.gif ./$1/**/*.jpg); do
git grep $(basename "$FILE") > /dev/null || echo "Unlinked file: $FILE"
done