Print extractor name if present

dev
Ice3man543 2021-01-17 12:02:59 +05:30
parent cafd11a5c4
commit 21e6577220
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ func (w *StandardWriter) formatScreen(output *ResultEvent) ([]byte, error) {
if output.MatcherName != "" {
builder.WriteString(":")
builder.WriteString(w.aurora.BrightGreen(output.MatcherName).Bold().String())
} else if output.ExtractorName != "" {
builder.WriteString(":")
builder.WriteString(w.aurora.BrightGreen(output.ExtractorName).Bold().String())
}
builder.WriteString("] [")