From dc4939e75b49d486fcd51ea4034a1210d5b73a90 Mon Sep 17 00:00:00 2001 From: Damien Caro Date: Thu, 13 Apr 2023 02:32:43 -0700 Subject: [PATCH] Removed trailing dot in survey message (#379) Removed the trailing dot in survey message to address URL wrapping issue in CloudShell Co-authored-by: NanxiangLiu <33285578+Nickcandy@users.noreply.github.com> --- src/Common/AzurePSCmdlet.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Common/AzurePSCmdlet.cs b/src/Common/AzurePSCmdlet.cs index 1415f3fe31..c2d50cce97 100644 --- a/src/Common/AzurePSCmdlet.cs +++ b/src/Common/AzurePSCmdlet.cs @@ -467,17 +467,11 @@ protected void WriteSurvey() Message = ansiCodePrefix + "https://go.microsoft.com/fwlink/?linkid=2202892"+ ansiCodeSuffix, NoNewLine = true, }; - HostInformationMessage dot = new HostInformationMessage() - { - Message = ansiCodePrefix + "."+ ansiCodeSuffix, - NoNewLine = true, - }; WriteInformation(newLine, new string[] { "PSHOST" }); WriteInformation(howWas, new string[] { "PSHOST" }); WriteInformation(link, new string[] { "PSHOST" }); WriteInformation(action, new string[] { "PSHOST" }); WriteInformation(website, new string[] { "PSHOST" }); - WriteInformation(dot, new string[] { "PSHOST" }); WriteInformation(newLine, new string[] { "PSHOST" });