From 302c9745eaabf6b73c8b6297923e2f62ebeb0ce9 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 9 Dec 2021 16:11:00 -0800 Subject: [PATCH] Added more parameter for JS use (#16556) Co-authored-by: sima-zhu --- eng/common/scripts/Update-DocsMsMetadata.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/common/scripts/Update-DocsMsMetadata.ps1 b/eng/common/scripts/Update-DocsMsMetadata.ps1 index a77ec890a3d0..ae2e3c36ee0b 100644 --- a/eng/common/scripts/Update-DocsMsMetadata.ps1 +++ b/eng/common/scripts/Update-DocsMsMetadata.ps1 @@ -195,13 +195,13 @@ function UpdateDocsMsMetadataForPackage($packageInfoJsonLocation, $packageInfo) } foreach ($packageInfoLocation in $PackageInfoJsonLocations) { - Write-Host "Updating metadata for package: $packageInfo" + Write-Host "Updating metadata for package: $packageInfoLocation" # Convert package metadata json file to metadata json property. $packageInfo = GetPackageInfoJson $packageInfoLocation # Add validation step for daily update and release if ($ValidateDocsMsPackagesFn -and (Test-Path "Function:$ValidateDocsMsPackagesFn")) { - &$ValidateDocsMsPackagesFn -PackageInfo $packageInfo -PackageSourceOverride $PackageSourceOverride -DocValidationImageId $DocValidationImageId + &$ValidateDocsMsPackagesFn -PackageInfo $packageInfo -PackageSourceOverride $PackageSourceOverride -DocValidationImageId $DocValidationImageId -DocRepoLocation $DocRepoLocation if ($LASTEXITCODE) { LogError "The package failed Doc.Ms validation. Check https://aka.ms/azsdk/docs/docker for more details on how to diagnose this issue." exit $LASTEXITCODE