From e6739c1dc0097bdb991fff47b4db49dc550c3f11 Mon Sep 17 00:00:00 2001 From: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com> Date: Mon, 11 Nov 2024 14:39:40 +0100 Subject: [PATCH] qa Signed-off-by: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com> --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index c37d349..7aca997 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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()); @@ -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",