Skip to content

Commit fcfb2db

Browse files
committed
html-proofer: only report 4xx errors.
Others tend to be random SSL blips or Travis CI issues.
1 parent 3b60073 commit fcfb2db

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

script/html-proofer

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ require "bundler/setup"
44
require "html-proofer"
55

66
url_ignores = [
7-
%r{^https://github.com/github/opensource.guide},
8-
"https://karissa.github.io/post/okf-de",
9-
"https://this-week-in-rust.org/",
10-
"https://www.vagrantup.com/",
11-
"https://www.quora.com/",
7+
"https://okdistribute.xyz/post/okf-de",
128
]
139

1410
HTMLProofer::Runner.new(
@@ -21,5 +17,5 @@ HTMLProofer::Runner.new(
2117
check_img_http: true,
2218
favicon: true,
2319
assume_extension: true,
24-
http_status_ignore: [0]
20+
only_4xx: true,
2521
).run

0 commit comments

Comments
 (0)