We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 186c8b7 commit e6739c1Copy full SHA for e6739c1
src/lib.rs
@@ -77,7 +77,7 @@ where
77
let tmp_dir = PathBuf::from(format!("/tmp/{}", Uuid::new_v4()));
78
fs::create_dir_all(tmp_dir.clone()).context(format!(
79
"run_image_command: couldn't create destination path {}",
80
- tmp_dir.to_str().context("cannot tmp dir name")?
+ tmp_dir.to_str().context("cannot get tmp dir name")?
81
))?;
82
83
let _guard = TempDirGuard(tmp_dir.clone());
@@ -108,7 +108,7 @@ where
108
if generate_bmap {
109
let mut target_bmap = image_file
110
.parent()
111
- .context("cannot get image path parent")?
+ .context("cannot get parent dir of image path")?
112
.to_path_buf();
113
let tmp_bmap = PathBuf::from(format!(
114
"{}.bmap",
0 commit comments