We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ee514b commit eff69edCopy full SHA for eff69ed
1 file changed
tests/integration.rs
@@ -28,8 +28,9 @@ fn ensure_extracted(archive: &str) -> Option<PathBuf> {
28
29
if !dir_path.exists() {
30
let parent = archive_path.parent().unwrap_or(Path::new("."));
31
+ let filename = archive_path.file_name().unwrap().to_str().unwrap();
32
let status = Command::new("tar")
- .args(["xzf", archive])
33
+ .args(["xzf", filename])
34
.current_dir(parent)
35
.status()
36
.expect("Failed to run tar");
0 commit comments