Skip to content

Commit

Permalink
Quote reporter output path
Browse files Browse the repository at this point in the history
in order to support paths with spaces
  • Loading branch information
eskatos committed Mar 13, 2018
1 parent f1ce350 commit a515788
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private inline fun checkReporterAvailable(
private fun JavaExec.applyOutputReporter(reporter: ReporterType, target: Project, sourceSetName: String) {
doFirst {
val reporterOutput = createReportOutputFile(target, reporter.fileExtension, sourceSetName)
this.args("--reporter=${reporter.reporterName},output=${reporterOutput.absolutePath}")
this.args("--reporter=${reporter.reporterName},output=\"${reporterOutput.absolutePath}\"")
}
}

Expand Down

0 comments on commit a515788

Please sign in to comment.