From dd1fe5e3bb1b1f94de75cdbc78533c270c00ccb6 Mon Sep 17 00:00:00 2001 From: Frank Budinsky Date: Mon, 6 Apr 2020 12:09:42 -0400 Subject: [PATCH] Suppress brittle link warnings (#7028) * Suppress brittle link warnings * tweak --- scripts/lint_site.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/lint_site.sh b/scripts/lint_site.sh index 556743270d..c5adb1c804 100755 --- a/scripts/lint_site.sh +++ b/scripts/lint_site.sh @@ -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