From b1c3dcea11877da8daf2474a90c1943ba5224046 Mon Sep 17 00:00:00 2001 From: Ray Chen Date: Fri, 19 Jan 2024 14:07:47 +0800 Subject: [PATCH] Fix Language value for JS (#7548) --- eng/common/scripts/Verify-RestApiSpecLocation.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/scripts/Verify-RestApiSpecLocation.ps1 b/eng/common/scripts/Verify-RestApiSpecLocation.ps1 index b25dda05f..7204c29c0 100644 --- a/eng/common/scripts/Verify-RestApiSpecLocation.ps1 +++ b/eng/common/scripts/Verify-RestApiSpecLocation.ps1 @@ -257,7 +257,7 @@ try{ } } } - elseif ($Language -eq "java" -or $Language -eq "js" -or $Language -eq "python" -or $Language -eq "go") { + elseif ($Language -eq "java" -or $Language -eq "javascript" -or $Language -eq "python" -or $Language -eq "go") { # for these languages we ignore the validation because they always use the latest spec from main branch to release SDK # mgmt plane packages: azure-core-management|azure-resourcemanager|azure-resourcemanager-advisor (java), azure-mgmt-devcenter (python), arm-advisor (js), armaad (go) if($PackageName -match "^(arm|azure-mgmt|azure-resourcemanager|azure-core-management)[-a-z]*$") {