diff --git a/eng/common/scripts/Invoke-GitHubAPI.ps1 b/eng/common/scripts/Invoke-GitHubAPI.ps1 index e4769c102..3c7c0596d 100644 --- a/eng/common/scripts/Invoke-GitHubAPI.ps1 +++ b/eng/common/scripts/Invoke-GitHubAPI.ps1 @@ -277,7 +277,7 @@ function Remove-GitHubIssueLabel { if ($LabelName.Trim().Length -eq 0) { - throw " The 'LabelName' parameter should not not be whitespace." + throw " The 'LabelName' parameter should not be empty or whitespace." } # Encode the label name $encodedLabelName = [System.Web.HttpUtility]::UrlEncode($LabelName)