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 dd1a2f5 commit f581fafCopy full SHA for f581faf
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "omicron-zone-package"
3
-version = "0.9.0"
+version = "0.9.1"
4
authors = ["Sean Klein <[email protected]>"]
5
edition = "2018"
6
#
src/package.rs
@@ -425,7 +425,11 @@ impl Package {
425
reader.unpack(tmp.path())?;
426
427
// Remove the placeholder version
428
- std::fs::remove_file(tmp.path().join("VERSION"))?;
+ if let Err(err) = std::fs::remove_file(tmp.path().join("VERSION")) {
429
+ if err.kind() != std::io::ErrorKind::NotFound {
430
+ return Err(err.into());
431
+ }
432
433
434
// Create the new tarball
435
let file = create_tarfile(&stamp_path)?;
0 commit comments