Skip to content

Commit

Permalink
qa
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com>
  • Loading branch information
JanZachmann committed Nov 11, 2024
1 parent 186c8b7 commit e6739c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ where
let tmp_dir = PathBuf::from(format!("/tmp/{}", Uuid::new_v4()));
fs::create_dir_all(tmp_dir.clone()).context(format!(
"run_image_command: couldn't create destination path {}",
tmp_dir.to_str().context("cannot tmp dir name")?
tmp_dir.to_str().context("cannot get tmp dir name")?
))?;

let _guard = TempDirGuard(tmp_dir.clone());
Expand Down Expand Up @@ -108,7 +108,7 @@ where
if generate_bmap {
let mut target_bmap = image_file
.parent()
.context("cannot get image path parent")?
.context("cannot get parent dir of image path")?
.to_path_buf();
let tmp_bmap = PathBuf::from(format!(
"{}.bmap",
Expand Down

0 comments on commit e6739c1

Please sign in to comment.