mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-30 20:58:00 -06:00
fix(package): retain existing top-level missing-link reporting API
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user