ci: Make spec links check output format easier to parse

This commit is contained in:
Kévin Commaille 2024-06-21 10:14:44 +02:00 committed by Kévin Commaille
parent 32d0e03575
commit 015a0c1c96

View File

@ -260,7 +260,7 @@ fn heading_id_has_duplicates(
fn print_link_err(error: &str, link: &SpecLink) { fn print_link_err(error: &str, link: &SpecLink) {
println!( println!(
"\n{error}\nfile: {}:{}\nlink: {}", "\n{error}\n file: {}:{}\n link: {}",
link.path.display(), link.path.display(),
link.line, link.line,
link.url.get(..80).unwrap_or(&link.url), link.url.get(..80).unwrap_or(&link.url),