fix(package): retain existing top-level missing-link reporting API

This commit is contained in:
shmuelbiller1
2026-10-09 11:30:54 -04:00
parent ae68704dfc
commit 4fe06391d4
+1 -1
View File
@@ -138,7 +138,7 @@ impl<'a> Collector<'a> {
}
let Some(mut bytes) = file.bytes else {
self.lines.push(format!("{}: not found ({}), not copied", file.name, file.path));
self.missing.push(format!("{} ({source})", file.name));
self.missing.push(if depth == 0 { file.name.clone() } else { format!("{} ({source})", file.name) });
continue;
};
if self.copies.len() >= 10_000 {