about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/tools/linkchecker/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/linkchecker/main.rs b/src/tools/linkchecker/main.rs
index 531c148de26..3d9a4fba6cd 100644
--- a/src/tools/linkchecker/main.rs
+++ b/src/tools/linkchecker/main.rs
@@ -149,7 +149,7 @@ fn check(cache: &mut Cache,
 
     // mdbook uses the HTML <base> tag to handle links for subdirectories, which
     // linkchecker doesn't support
-    if file.to_str().unwrap().contains("unstable-book/") {
+    if file.to_str().unwrap().contains("unstable-book") {
         return None;
     }