Skip to content

Commit

Permalink
Linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DLBPointon committed Aug 15, 2024
1 parent 577148e commit 8edce07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yaml_validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ pub mod yaml_validator_mod {
let failed_primary_count = &failed_primaries.len();
let failed_secondary_count = &failed_secondary.len();

if failed_primaries.len() >= 1 {
if !failed_primaries.is_empty() {
println!(
"Primary Values Failed: {}\nSecondary Values Failed: {}\nPrimary Values that failed:\n{:?}\nSecondary Values that failed (These are not essential for TreeVal):\n{:?}\n",
failed_primary_count, failed_secondary_count,
Expand Down

0 comments on commit 8edce07

Please sign in to comment.