Skip to content

Commit

Permalink
exempt hbs from linkchecker
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Mar 20, 2017
1 parent d1d9626 commit 4eef581
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tools/linkchecker/main.rs
Expand Up @@ -121,6 +121,12 @@ fn check(cache: &mut Cache,
if file.extension().and_then(|s| s.to_str()) == Some("js") {
return None;
}

// ignore handlebars files as they use {{}} to build links, we only
// want to test the generated files
if file.extension().and_then(|s| s.to_str()) == Some("hbs") {
return None;
}

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

0 comments on commit 4eef581

Please sign in to comment.