mirror of
https://github.com/OJ/gobuster.git
synced 2026-10-11 21:59:56 +00:00
Remove extra trailing ", "
Co-authored-by: Copilot <[email protected]> Signed-off-by: andriikushch <[email protected]>
This commit is contained in:
@@ -196,7 +196,7 @@ func (s *GobusterGCS) ProcessWord(ctx context.Context, word string, progress *li
|
||||
if i > 0 {
|
||||
extraStrBuilder.WriteString(", ")
|
||||
}
|
||||
_, err := fmt.Fprintf(&extraStrBuilder, "%s (%sb), ", x.Name, x.Size)
|
||||
_, err := fmt.Fprintf(&extraStrBuilder, "%s (%sb)", x.Name, x.Size)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("fmt.Fprintf to strings.Builder failed: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user