One more try to fix output

pull/41/head
Maksim Shilov 4 years ago
parent ecece50284
commit 119735c8f5

@ -37,7 +37,7 @@ Import-Module $PSScriptRoot/helpers.psm1 -DisableNameChecking
# Create JSON body # Create JSON body
if ([string]::IsNullOrWhiteSpace($Text)) { if ([string]::IsNullOrWhiteSpace($Text)) {
if ($toolName -in ("Xamarin", "Python")) { 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 { } else {
$Text = "The following versions of '$toolName' are available to upload: $toolVersion" $Text = "The following versions of '$toolName' are available to upload: $toolVersion"
} }

Loading…
Cancel
Save