File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ function GetMetadata($moniker) {
5454 return $metadata
5555}
5656
57- function ValidatePackageForOnboarding2 ($package ) {
57+ function PackageIsValidForDocsOnboarding ($package ) {
5858 if (! (Test-Path " Function:$ValidateDocsMsPackagesFn " )) {
5959 return $true
6060 }
@@ -88,7 +88,7 @@ foreach ($moniker in $MONIKERS) {
8888 if ($package.ContainsKey (' _SkipDocsValidation' ) -and $true -eq $package [' _SkipDocsValidation' ]) {
8989 Write-Host " Skip validation for package: $ ( $packageIdentity ) "
9090 }
91- elseif (! (ValidatePackageForOnboarding2 $package )) {
91+ elseif (! (PackageIsValidForDocsOnboarding $package )) {
9292 LogWarning " Skip adding package that did not pass validation: $ ( $packageIdentity ) "
9393 continue
9494 }
@@ -101,7 +101,7 @@ foreach ($moniker in $MONIKERS) {
101101 $oldPackage = $alreadyOnboardedPackages [$packageIdentity ]
102102
103103 if ($oldPackage.Version -ne $package.Version ) {
104- if (! (ValidatePackageForOnboarding2 $package )) {
104+ if (! (PackageIsValidForDocsOnboarding $package )) {
105105 LogWarning " Omitting package that failed validation: $ ( $packageIdentity ) @$ ( $package.Version ) "
106106 continue
107107 }
You can’t perform that action at this time.
0 commit comments