Skip to content

Commit

Permalink
Correct the variable name in spec location validation script (Azure#4…
Browse files Browse the repository at this point in the history
…1256)

Co-authored-by: raychen <[email protected]>
  • Loading branch information
azure-sdk and raych1 authored Jan 15, 2024
1 parent f79165e commit 1f8f0da
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 @@ -210,7 +210,7 @@ function Verify-PackageVersion() {

# Ignore the validation if the package is not GA version
if ($version.IsPrerelease) {
Write-Host "ServiceDir:$ServiceDirectory, Package $($parsedPackage.PackageId) is marked with version $($parsedPackage.PackageVersion), the version is a prerelease version and the validation of spec location is ignored."
Write-Host "ServiceDir:$ServiceDirectory, Package $PackageName is marked with version $version, the version is a prerelease version and the validation of spec location is ignored."
exit 0
}
$continueValidation = $true
Expand Down

0 comments on commit 1f8f0da

Please sign in to comment.