Skip to content

Commit

Permalink
Trim whitespace from commandline output
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredrummler committed May 2, 2024
1 parent 9a03315 commit bb68703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/external/CommandLine.kt
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ class CommandLine(private val project: Project) {
errorOutput = stderr
}
return Result(
stdout = stdout.toString(Charsets.UTF_8),
stderr = stderr.toString(Charsets.UTF_8),
stdout = stdout.toString(Charsets.UTF_8).trim(),
stderr = stderr.toString(Charsets.UTF_8).trim(),
exitCode = result.exitValue
)
} finally {
Expand Down

0 comments on commit bb68703

Please sign in to comment.