mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
always strip ansi color from file + autoassign
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
addReviewers: true
|
||||
reviewers:
|
||||
- dogancanbakir
|
||||
- dwisiswant0
|
||||
- mzack9999
|
||||
|
||||
numberOfReviewers: 1
|
||||
skipKeywords:
|
||||
- '@dependabot'
|
||||
+1
-5
@@ -1183,11 +1183,7 @@ func (r *Runner) RunEnumeration() {
|
||||
|
||||
//nolint:errcheck // this method needs a small refactor to reduce complexity
|
||||
if plainFile != nil {
|
||||
if r.options.NoColor {
|
||||
plainFile.WriteString(resp.str + "\n")
|
||||
} else {
|
||||
plainFile.WriteString(stripANSI(resp.str) + "\n")
|
||||
}
|
||||
plainFile.WriteString(stripANSI(resp.str) + "\n")
|
||||
}
|
||||
|
||||
if len(r.options.ExcludeOutputFields) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user