Skip to content

Commit 517f58f

Browse files
committed
Fail only if links return 4xx
1 parent 239a751 commit 517f58f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ task :run_html_proofer do
3333
tester = HTML::Proofer.new('./_site', {
3434
:href_swap => href_swap,
3535
:connecttimeout => 600,
36+
:only_4xx => true,
3637
:typhoeus => { :ssl_verifypeer => false, :ssl_verifyhost => 0, :followlocation => true },
3738
:url_ignore => ["https://www.appfog.com/",
3839
/coverity.com/],

0 commit comments

Comments
 (0)