From 119735c8f5bf7e116ad6f6320375c1e363bd978a Mon Sep 17 00:00:00 2001 From: Maksim Shilov Date: Tue, 19 Oct 2021 12:03:43 +0300 Subject: [PATCH] One more try to fix output --- get-new-tool-versions/send-slack-notification.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-new-tool-versions/send-slack-notification.ps1 b/get-new-tool-versions/send-slack-notification.ps1 index d0a6e34..4e461bc 100644 --- a/get-new-tool-versions/send-slack-notification.ps1 +++ b/get-new-tool-versions/send-slack-notification.ps1 @@ -37,7 +37,7 @@ Import-Module $PSScriptRoot/helpers.psm1 -DisableNameChecking # Create JSON body if ([string]::IsNullOrWhiteSpace($Text)) { if ($toolName -in ("Xamarin", "Python")) { - $Text = "The following versions of '$toolName' are available, consider adding them to toolset: $toolVersion" + $Text = "The following versions of '$toolName' are available, consider adding them to toolset: $($toolVersion | Out-string)" } else { $Text = "The following versions of '$toolName' are available to upload: $toolVersion" }