Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #838 from jodh-intel/ci-static-check-ignore-file-urls
Browse files Browse the repository at this point in the history
CI: Make static check ignore local URLs
  • Loading branch information
chavafg authored Oct 23, 2018
2 parents 51a88ce + edf8474 commit 0341cc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .ci/static-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,10 @@ check_docs()
info "ignoring new (but correct) URL: $url" && continue
fi

# Ignore local URLs. The only time these are used is in
# examples (meaning these URLs won't exist).
echo "$url" | grep -q "^file://" && continue

# Ignore the install guide URLs that contain a shell variable
echo "$url" | grep -q "\\$" && continue

Expand Down

0 comments on commit 0341cc1

Please sign in to comment.