Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
make lint happy
Browse files Browse the repository at this point in the history
Signed-off-by: Achille Roussel <[email protected]>
  • Loading branch information
achille-roussel committed Jun 1, 2023
1 parent b5d76b5 commit f77edb7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/print/textprint/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ func Separator[T any](s string) WriterOption[T] {
}

func NewWriter[T any](w io.Writer, opts ...WriterOption[T]) stream.WriteCloser[T] {
nw := &writer[T]{output: bufio.NewWriter(w)}
nw := &writer[T]{
output: bufio.NewWriter(w),
separator: separator,
}
for _, opt := range opts {
opt(nw)
}
Expand Down

0 comments on commit f77edb7

Please sign in to comment.