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 Aug 19, 2024
1 parent 9cc8acb commit 4a7da22
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 4a7da22

Please sign in to comment.