Skip to content

Commit

Permalink
displaybody should respect new line
Browse files Browse the repository at this point in the history
  • Loading branch information
h0nIg authored and a-b committed Nov 18, 2024
1 parent c867dd8 commit 42825f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/ui/request_logger_file_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func newRequestLoggerFileWriter(ui *UI, lock *sync.Mutex, filePaths []string) *R

func (display *RequestLoggerFileWriter) DisplayBody([]byte) error {
for _, logFile := range display.logFiles {
_, err := logFile.WriteString(RedactedValue)
_, err := logFile.WriteString(fmt.Sprintf("%s\n", RedactedValue))
if err != nil {
return err
}
Expand Down

0 comments on commit 42825f8

Please sign in to comment.