Skip to content

Commit

Permalink
test: fix link-check diffs
Browse files Browse the repository at this point in the history
Fixes #1148
  • Loading branch information
casperdcl committed Apr 25, 2020
1 parent 876780b commit 2920b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/link-check-git-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -euo pipefail

exclude="${CHECK_LINKS_EXCLUDE_LIST:-$(dirname $0)/exclude-links.txt}"
differ="git diff $(git merge-base HEAD origin/master)"
changed="$differ --name-only :^redirects-list.json"
changed="$($differ --name-only)"

[ -z "$changed" ] && exit 0

Expand Down

0 comments on commit 2920b27

Please sign in to comment.