Skip to content

Commit

Permalink
Display data in brackets.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartossh committed Aug 21, 2024
1 parent c08c954 commit bfafcb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/result/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl Display for Secret {
true => "Found verified result !",
_ => "Found unverified result ?",
};
write!(f, "{}\nDetector Type: {}\nDecoderType: {}\nRawResult: \"{}\"\nBranch: {}\nFile: {}\nLine: {}\nAuthor: {}\n",
write!(f, "{}\nDetector Type [ {} ]\nDecoderType [ {} ]\nRawResult [ {} ]\nBranch [ {} ] \nFile [ {} ]\nLine [ {} ]\nAuthor [ {} ]\n",
verified, self.detector_type, self.decoder_type, self.raw_result,
self.branch, self.file, self.line, self.author.clone().unwrap_or("unknown".to_string()),
)
Expand Down

0 comments on commit bfafcb3

Please sign in to comment.