From b65ac239611df46ff520ecd04c7283613b1b0ddc Mon Sep 17 00:00:00 2001 From: Garry Trinder Date: Fri, 19 Apr 2024 17:55:45 +0100 Subject: [PATCH] Replaces \r\n with Environment.NewLine (#665) --- dev-proxy/ProxyCommandHandler.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-proxy/ProxyCommandHandler.cs b/dev-proxy/ProxyCommandHandler.cs index 75d57a8f..8d82196d 100755 --- a/dev-proxy/ProxyCommandHandler.cs +++ b/dev-proxy/ProxyCommandHandler.cs @@ -92,7 +92,11 @@ public async Task 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