Skip to content

Commit

Permalink
Prevent check-for-subheading-anchors to match binary files
Browse files Browse the repository at this point in the history
  • Loading branch information
saivann committed Jun 26, 2015
1 parent b1be907 commit 7013b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,6 @@ check-for-subheading-anchors:
## Ensure all subheadings on the site have anchors so the Javascript
## function addAnchorLinks() can add anchor link affordance to each
## subhead
$S grep -r -L 'Note: this file exempt from check-for-subheading-anchors check' _site/ \
$S grep -r -i --include \*.html -L 'Note: this file exempt from check-for-subheading-anchors check' _site/ \
| xargs grep '<h[23456]' \
| grep -v '<h[23456][^>]* id=' | eval $(ERROR_ON_OUTPUT)

0 comments on commit 7013b78

Please sign in to comment.