diff --git a/utils/Cargo.toml b/utils/Cargo.toml index 4cd80ed..d37dc3a 100644 --- a/utils/Cargo.toml +++ b/utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "utils" -version = "0.1.0" +version = "0.1.1" edition = "2021" license = "GPL-3.0-or-later" authors.workspace = true diff --git a/utils/src/bin/czutil.rs b/utils/src/bin/czutil.rs index 5733474..d226f43 100644 --- a/utils/src/bin/czutil.rs +++ b/utils/src/bin/czutil.rs @@ -219,14 +219,6 @@ fn main() { Error::raw(ErrorKind::ValueValidation, "Replacement must be a file\n").exit() } - if !output.is_file() { - Error::raw( - ErrorKind::ValueValidation, - "Replacement output must be a file\n", - ) - .exit() - } - // Replace the input file with the new image replace_cz(&input, &output, &replacement, version, depth).unwrap(); }