Skip to content

Commit

Permalink
Avoid fallback into non-CLR extension method
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Sep 20, 2023
1 parent 1d002fc commit 9c4db22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bonsai/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ internal static int Main(string[] args)
}

using var pipeServer = new NamedPipeServerStream(pipeName, PipeDirection.In);
editorArgs = editorArgs.ConvertAll(arg => arg.Contains(' ') ? $"\"{arg}\"" : arg);
editorArgs = editorArgs.ConvertAll(arg => arg.Contains(" ") ? $"\"{arg}\"" : arg);
editorArgs.AddRange(new[] { PipeCommand, pipeName });

var setupInfo = new ProcessStartInfo();
Expand Down

0 comments on commit 9c4db22

Please sign in to comment.