Skip to content

Commit

Permalink
write config to output file
Browse files Browse the repository at this point in the history
  • Loading branch information
epi052 committed Mar 30, 2024
1 parent 4e5d6aa commit de9c5c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/event_handlers/outputs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ impl FileOutHandler {

log::info!("Writing scan results to {}", self.config.output);

write_to(&*self.config, &mut file, self.config.json)?;

while let Some(command) = self.receiver.recv().await {
match command {
Command::Report(response) => {
Expand Down

0 comments on commit de9c5c5

Please sign in to comment.