Skip to content

Commit

Permalink
Fix dotnet argument having space
Browse files Browse the repository at this point in the history
  • Loading branch information
ngyukman committed Mar 5, 2024
1 parent 41885dd commit 495c203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/groovy/com/ullink/Msbuild.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class Msbuild extends ConventionTask {
def parseOutputStream = new ByteArrayOutputStream()
def errorOutputStream = new ByteArrayOutputStream()
def parser = project.exec { exec ->
exec.commandLine('dotnet', ' --roll-forward', 'Major', parserDll)
exec.commandLine('dotnet', '--roll-forward', 'Major', parserDll)
exec.args(file.toString(), JsonOutput.toJson(getInitProperties()).replace('"', '\''))
exec.standardOutput = parseOutputStream
exec.errorOutput = errorOutputStream
Expand Down

0 comments on commit 495c203

Please sign in to comment.