Skip to content

Commit

Permalink
fix: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
fukusuket committed Apr 29, 2024
1 parent 36bf6cf commit 072e5d9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}",
Expand Down Expand Up @@ -3137,4 +3136,4 @@ mod tests {
assert_eq!(actual.1, 2);
assert_eq!(actual.4.len(), 0);
}
}
}

0 comments on commit 072e5d9

Please sign in to comment.