diff --git a/Cargo.lock b/Cargo.lock index 499c88a..40140ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -295,7 +295,7 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "lazydraft" -version = "3.1.6" +version = "3.1.7" dependencies = [ "chrono", "dialoguer", diff --git a/Cargo.toml b/Cargo.toml index c435a39..58c6daa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lazydraft" -version = "3.1.6" +version = "3.1.7" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/config.rs b/src/config.rs index 96e06ae..a42cddb 100644 --- a/src/config.rs +++ b/src/config.rs @@ -83,10 +83,7 @@ impl Config { if self.yaml_asset_prefix.is_empty() { return Some("yaml_asset_prefix".to_string()); } - if self.target_hero_image_prefix.is_empty() { - return Some("target_hero_image_prefix".to_string()); - } - return None; + None } }