Skip to content

Commit

Permalink
fix: fixed logic to have right naming in inline parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardofslp committed Jul 7, 2024
1 parent d6ef454 commit 4aab261
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/RerunCommand/RerunCommandConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -306,16 +306,18 @@ private string FetchPArgumentsFromParse(ParseResult parseResult)
private string FetchInlineRunSettingsFromParse(ParseResult parseResult)
{
var inlineSettings = new StringBuilder();
var inlinesettingsOption = parseResult.GetValueForOption(InlineRunSettingsOption);
var inlineSettingsOption = parseResult.GetValueForOption(InlineRunSettingsOption);

if (inlinesettingsOption is not null &&
inlinesettingsOption.Length > 0)
if (inlineSettingsOption is not null &&
inlineSettingsOption.Length > 0)
{
inlineSettings.Append(" -- ");
inlineSettings.Append(string.Join(" ", inlinesettingsOption));
inlineSettings.Append(string.Join(" ", inlineSettingsOption));
}

return inlineSettings.ToString();
return inlineSettings.ToString().Replace("\"", "\\\"");


}


Expand Down

0 comments on commit 4aab261

Please sign in to comment.