Skip to content

Commit

Permalink
Fix Language value for JS (#22275)
Browse files Browse the repository at this point in the history
Co-authored-by: raychen <raychen@microsoft.com>
  • Loading branch information
azure-sdk and raych1 committed Jan 19, 2024
1 parent d195126 commit 4eaf466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/common/scripts/Verify-RestApiSpecLocation.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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]*$") {
Expand Down

0 comments on commit 4eaf466

Please sign in to comment.