Skip to content

Commit

Permalink
Remove redundant message if an error occurs during package extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
ongchi authored and djc committed Oct 10, 2023
1 parent af6726d commit 2780881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dist/component/package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl<'a> TarPackage<'a> {
// $pkgname-$version-$target. Skip that directory when
// unpacking.
unpack_without_first_dir(&mut archive, &temp_dir, notify_handler)
.context("failed to extract package (perhaps you ran out of disk space?)")?;
.context("failed to extract package")?;

Ok(TarPackage(
DirectoryPackage::new(temp_dir.to_owned(), false)?,
Expand Down

0 comments on commit 2780881

Please sign in to comment.