update debug message

This commit is contained in:
yggverse 2026-03-30 13:09:19 +03:00
parent 5fdd841f3c
commit a68a4fdde9

View file

@ -269,7 +269,7 @@ fn pre_format(data: &str, uploads: &mut HashSet<PathBuf>) -> String {
&Regex::new(R).unwrap().replace_all(data, |c: &Captures| { &Regex::new(R).unwrap().replace_all(data, |c: &Captures| {
let rel = c[2].trim_start_matches("/").trim_start_matches("d/"); let rel = c[2].trim_start_matches("/").trim_start_matches("d/");
if uploads.insert(rel.into()) { if uploads.insert(rel.into()) {
debug!("Register upload: `{rel}`") debug!("Register upload from the thumb capture: `{rel}`")
} }
format!( format!(
"![{}]({rel})", "![{}]({rel})",