Skip to content

Commit

Permalink
Replaces \r\n with Environment.NewLine (microsoft#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrytrinder authored Apr 19, 2024
1 parent 61e04ca commit b65ac23
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dev-proxy/ProxyCommandHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ public async Task<int> InvokeAsync(InvocationContext context)
var newReleaseInfo = await UpdateNotification.CheckForNewVersion(Configuration.NewVersionNotification);
if (newReleaseInfo != null)
{
_logger.LogError("New Dev Proxy version {version} is available.\r\nSee https://aka.ms/devproxy/upgrade for more information.", newReleaseInfo.Version);
_logger.LogError(
"New Dev Proxy version {version} is available.{newLine}See https://aka.ms/devproxy/upgrade for more information.",
newReleaseInfo.Version,
Environment.NewLine
);
}

try
Expand Down

0 comments on commit b65ac23

Please sign in to comment.