Skip to content

Commit

Permalink
CHORE: fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
aaranmcguire committed Aug 27, 2024
1 parent 3152543 commit 8573b2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/fmt/fmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ func Files(out io.Writer, sources []string) error {
return err
}
if i != count-1 {
fmt.Fprintln(out, "---")
if _, err := fmt.Fprintln(out, "---"); err != nil {
return err
}
}
}
return nil
Expand Down

0 comments on commit 8573b2c

Please sign in to comment.