Skip to content

Commit

Permalink
ScalafmtCliReporter: use info for downloader
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Sep 15, 2024
1 parent bf6359a commit e4f7ea2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ class ScalafmtCliReporter(options: CliOptions) extends ScalafmtReporter {
options.common.debug.println(s"parsed config (v$scalafmtVersion): $config")

override def downloadWriter(): PrintWriter =
new PrintWriter(options.common.out)
new PrintWriter(options.common.info)

override def downloadOutputStreamWriter(): OutputStreamWriter =
new OutputStreamWriter(options.common.out)
new OutputStreamWriter(options.common.info)
}

private class FailedToFormat(filename: String, cause: Throwable)
Expand Down

0 comments on commit e4f7ea2

Please sign in to comment.