diff --git a/Cargo.lock b/Cargo.lock index d8ef859..02db667 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -32,12 +32,6 @@ dependencies = [ "generic-array", ] -[[package]] -name = "build_html" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa8ffb62af7b0911893e2d6126891b2a018e387078fa5d855cb42d0d90d88075" - [[package]] name = "bytecount" version = "0.6.3" @@ -54,7 +48,6 @@ checksum = "e9f73505338f7d905b19d18738976aae232eb46b8efc15554ffc56deb5d9ebe4" name = "cdh" version = "0.1.0" dependencies = [ - "build_html", "clap", "clap_complete", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index eef3fb2..a6e103e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,6 @@ version-compare = "0.1.0" clap = { version = "4.1.1", features = ["derive", "env"] } serde_yaml = "0.9.16" tabled = "0.10.0" -build_html = "2.1.0" handlebars = "4.3.1" clap_complete = "4.0.6" diff --git a/src/main.rs b/src/main.rs index ed082ed..2031a8f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -122,7 +122,7 @@ fn main() { } fn check_chart(result: &mut Vec, local_chart: &types::HelmChart) -> Result<()> { - if local_chart.clone().name.is_some() { + if local_chart.name.is_some() { let version = local_chart.version.clone().unwrap(); let chart = local_chart.name.clone().unwrap(); return match version.is_empty() {