Skip to content

Commit a535aef

Browse files
azure-sdksima-zhu
andauthored
Added more parameter for JS use (Azure#25854)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
1 parent 3ca12a1 commit a535aef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/common/scripts/Update-DocsMsMetadata.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,13 @@ function UpdateDocsMsMetadataForPackage($packageInfoJsonLocation, $packageInfo)
195195
}
196196

197197
foreach ($packageInfoLocation in $PackageInfoJsonLocations) {
198-
Write-Host "Updating metadata for package: $packageInfo"
198+
Write-Host "Updating metadata for package: $packageInfoLocation"
199199

200200
# Convert package metadata json file to metadata json property.
201201
$packageInfo = GetPackageInfoJson $packageInfoLocation
202202
# Add validation step for daily update and release
203203
if ($ValidateDocsMsPackagesFn -and (Test-Path "Function:$ValidateDocsMsPackagesFn")) {
204-
&$ValidateDocsMsPackagesFn -PackageInfo $packageInfo -PackageSourceOverride $PackageSourceOverride -DocValidationImageId $DocValidationImageId
204+
&$ValidateDocsMsPackagesFn -PackageInfo $packageInfo -PackageSourceOverride $PackageSourceOverride -DocValidationImageId $DocValidationImageId -DocRepoLocation $DocRepoLocation
205205
if ($LASTEXITCODE) {
206206
LogError "The package failed Doc.Ms validation. Check https://aka.ms/azsdk/docs/docker for more details on how to diagnose this issue."
207207
exit $LASTEXITCODE

0 commit comments

Comments
 (0)