From d441c7bc7cba974a22feb187ae939079bc925ee4 Mon Sep 17 00:00:00 2001 From: praveenkuttappan Date: Thu, 27 May 2021 17:00:16 -0400 Subject: [PATCH] Fix bug in language mapping --- eng/common/scripts/Helpers/ApiView-Helpers.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)