Skip to content

Commit

Permalink
No need for arg list.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Feb 5, 2023
1 parent 51a51d3 commit 79bcd30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/IKVM.Tools.Runner/Compiler/IkvmCompilerLauncher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,9 @@ public async Task<int> ExecuteAsync(IkvmCompilerOptions options, CancellationTok

// configure CLI
var cli = Cli.Wrap(exe).WithWorkingDirectory(Environment.CurrentDirectory);
var args = new List<string>();

// execute the contents of the response file
args.Add($"@{response}");
cli = cli.WithArguments(args);
cli = cli.WithArguments(new[] { $"@{response}" });
cli = cli.WithValidation(CommandResultValidation.None);
await LogEvent(IkvmToolDiagnosticEventLevel.Debug, "Executing {0} {1}", cli.TargetFilePath, cli.Arguments);

Expand Down

0 comments on commit 79bcd30

Please sign in to comment.