Skip to content

Commit

Permalink
trim outputFormatter input options (fixes #703)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-manes committed Nov 12, 2022
1 parent 1c6a3fd commit a4d20b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class DependencyUpdatesReporter(
}

private fun getOutputReporter(formatterOriginal: String): Reporter {
return when (formatterOriginal.replace("\\s", "")) {
return when (formatterOriginal.trim()) {
"json" -> JsonReporter(project, revision, gradleReleaseChannel)
"xml" -> XmlReporter(project, revision, gradleReleaseChannel)
"html" -> HtmlReporter(project, revision, gradleReleaseChannel)
Expand Down

0 comments on commit a4d20b7

Please sign in to comment.