Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
write config to output file
Browse files Browse the repository at this point in the history
epi052 committed Mar 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
@@ -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) => {

0 comments on commit de9c5c5

Please sign in to comment.