Skip to content

Commit 4eef581

Browse files
committed
exempt hbs from linkchecker
1 parent d1d9626 commit 4eef581

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/tools/linkchecker/main.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ fn check(cache: &mut Cache,
121121
if file.extension().and_then(|s| s.to_str()) == Some("js") {
122122
return None;
123123
}
124+
125+
// ignore handlebars files as they use {{}} to build links, we only
126+
// want to test the generated files
127+
if file.extension().and_then(|s| s.to_str()) == Some("hbs") {
128+
return None;
129+
}
124130

125131
// Unfortunately we're not 100% full of valid links today to we need a few
126132
// whitelists to get this past `make check` today.

0 commit comments

Comments
 (0)