From 5d1a326ab6f1fdd98f173e1d838f7adbc831d439 Mon Sep 17 00:00:00 2001 From: Mzack9999 Date: Sun, 19 Oct 2025 19:43:29 +0400 Subject: [PATCH] always strip ansi color from file + autoassign --- .github/auto_assign.yml | 9 +++++++++ runner/runner.go | 6 +----- 2 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 .github/auto_assign.yml diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 0000000..273b6ac --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,9 @@ +addReviewers: true +reviewers: + - dogancanbakir + - dwisiswant0 + - mzack9999 + +numberOfReviewers: 1 +skipKeywords: + - '@dependabot' \ No newline at end of file diff --git a/runner/runner.go b/runner/runner.go index bd2b8d4..dbdaa7b 100644 --- a/runner/runner.go +++ b/runner/runner.go @@ -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 {