Suppress brittle link warnings (#7028)

* Suppress brittle link warnings

* tweak
This commit is contained in:
Frank Budinsky 2020-04-06 12:09:42 -04:00 committed by GitHub
parent 678179bf60
commit dd1fe5e3bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -157,10 +157,10 @@ while IFS= read -r -d '' f; do
FAILED=1
fi
if grep -H -n -e "\"https://github.*#L[0-9]*\"" "${f}"; then
echo "WARNING: content shoudn't use links to specific lines in GitHub files as those are too brittle"
#FAILED=1
fi
#if grep -H -n -e "\"https://github.*#L[0-9]*\"" "${f}"; then
# echo "Ensure content doesn't use links to specific lines in GitHub files as those are too brittle"
# FAILED=1
#fi
done < <(find ./public "${find_exclude[@]}" -type f -name '*.html' -print0)
if [[ ${SKIP_LINK_CHECK:-} != "true" ]]; then