Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrav committed Feb 4, 2024
1 parent f6f1f44 commit 7659980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/writers/buffered_file_writer/bufferedfilewriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (w *BufferedFileWriter) String() (string, error) {
}

// Append buffer data, if any, to the end of the file contents.
if _, err := buf.WriteTo(w.buf); err != nil {
if _, err := w.buf.WriteTo(&buf); err != nil {
return "", err
}

Expand Down

0 comments on commit 7659980

Please sign in to comment.