ci: Fix accidental ban of v1.1 spec links

This commit is contained in:
Jonas Platte 2022-02-18 20:22:27 +01:00
parent fcba5100cf
commit 8743a7791d
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -10,7 +10,7 @@ pub(crate) fn check_spec_links(path: &Path) -> Result<()> {
println!("Checking Matrix Spec links are up-to-date...");
walk_dirs(path, "https://matrix.org/docs/spec/", |_| false)?;
walk_dirs(path, "https://spec.matrix.org/", |s| {
s.starts_with("v1.2") || s.starts_with("unstable")
s.starts_with("v1.1") || s.starts_with("v1.2") || s.starts_with("unstable")
})?;
Ok(())
}