Skip to content

Commit 06d4682

Browse files
committed
feat: write informative message if archives are ignored due to script change.
1 parent 84c998b commit 06d4682

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/tools/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,10 @@ fn extract_archive(
676676
)
677677
})?;
678678
if archive_identity != required_script_identity {
679+
eprintln!(
680+
"Ignoring archive at '{}' as its generating script changed",
681+
archive.display()
682+
);
679683
return Err(std::io::ErrorKind::NotFound.into());
680684
}
681685

0 commit comments

Comments
 (0)