Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir committed Oct 24, 2023
1 parent 4d33a9b commit 54cdae4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mutator.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ func (m *Mutator) ExecuteWithWriter(Writer io.Writer) error {
// drain all dedupers when max-file size reached
continue
}

if strings.HasPrefix(value, "-") {
continue
}

outputData := []byte(value + "\n")
if len(outputData) > maxFileSize {
maxFileSize = 0
Expand Down

0 comments on commit 54cdae4

Please sign in to comment.