diff --git a/eng/common/scripts/Helpers/ApiView-Helpers.ps1 b/eng/common/scripts/Helpers/ApiView-Helpers.ps1 index c9d9b1c07e33..3be12566e239 100644 --- a/eng/common/scripts/Helpers/ApiView-Helpers.ps1 +++ b/eng/common/scripts/Helpers/ApiView-Helpers.ps1 @@ -14,7 +14,10 @@ function MapLanguageName($language) elseif ($lang -eq "python"){ $lang = "Python" } - return $null + else{ + $lang = $null + } + return $lang } function Check-ApiReviewStatus($packageName, $packageVersion, $language, $url, $apiKey)