diff --git a/src/main.rs b/src/main.rs index 5e1ca5423..c89277f95 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1439,8 +1439,7 @@ impl App { ); println!("{evtx_files_after_channel_filter}"); } - if !stored_static.enable_all_rules - { + if !stored_static.enable_all_rules { rule_files.retain(|r| channel_filter.rulepathes.contains(&r.rulepath)); let rules_after_channel_filter = format!( "Detection rules loaded after channel filter: {}", @@ -3137,4 +3136,4 @@ mod tests { assert_eq!(actual.1, 2); assert_eq!(actual.4.len(), 0); } -} \ No newline at end of file +}