Skip to content

Commit

Permalink
fix hero image empty path
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitozgumus committed Dec 31, 2024
1 parent 5c7d6b4 commit 7934a0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 1 addition & 4 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 7934a0b

Please sign in to comment.