Skip to content

Commit

Permalink
Using config file and addl parameters causes a command error
Browse files Browse the repository at this point in the history
Adding an extra space at the end of the -c [file] line to match the other lines.
  • Loading branch information
BryanAldrich authored Sep 4, 2024
1 parent 0bb9a15 commit da59ec0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public string GenerateCode(IProgressReporter? pGenerateProgress)
var configFile = Array.Find(configFilenames, File.Exists);
if (configFile != null)
{
arguments += $"-c \"{configFile}\"";
arguments += $"-c \"{configFile}\" ";
}
}

Expand Down Expand Up @@ -151,4 +151,4 @@ public string GenerateCode(IProgressReporter? pGenerateProgress)
private static string Sanitize(string code) =>
code.Replace("using System.Net.Mime;", null);
}
}
}

0 comments on commit da59ec0

Please sign in to comment.