check for deleted files (#481)

This commit is contained in:
David Holdeman 2023-04-04 18:33:02 -05:00 committed by GitHub
parent 55b9eb432e
commit d7dbbd0477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ if [ "$?" -gt 0 ]; then
STATUS=1
fi
if git diff --compact-summary HEAD~1 HEAD | grep -E "=>|\(new\)" >/dev/null; then
if git diff --compact-summary HEAD~1 HEAD | grep -E "=>|\(new\)|\(gone\)" >/dev/null; then
bash wiki-tools/brokenlinks.sh -s
if [ "$?" -gt 0 ]; then
STATUS=1