Commit 02198e5 1 parent a8c0256 commit 02198e5 Copy full SHA for 02198e5
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ function GetMetadata($moniker) {
54
54
return $metadata
55
55
}
56
56
57
- function ValidatePackageForOnboarding2 ($package ) {
57
+ function PackageIsValidForDocsOnboarding ($package ) {
58
58
if (! (Test-Path " Function:$ValidateDocsMsPackagesFn " )) {
59
59
return $true
60
60
}
@@ -88,7 +88,7 @@ foreach ($moniker in $MONIKERS) {
88
88
if ($package.ContainsKey (' _SkipDocsValidation' ) -and $true -eq $package [' _SkipDocsValidation' ]) {
89
89
Write-Host " Skip validation for package: $ ( $packageIdentity ) "
90
90
}
91
- elseif (! (ValidatePackageForOnboarding2 $package )) {
91
+ elseif (! (PackageIsValidForDocsOnboarding $package )) {
92
92
LogWarning " Skip adding package that did not pass validation: $ ( $packageIdentity ) "
93
93
continue
94
94
}
@@ -101,7 +101,7 @@ foreach ($moniker in $MONIKERS) {
101
101
$oldPackage = $alreadyOnboardedPackages [$packageIdentity ]
102
102
103
103
if ($oldPackage.Version -ne $package.Version ) {
104
- if (! (ValidatePackageForOnboarding2 $package )) {
104
+ if (! (PackageIsValidForDocsOnboarding $package )) {
105
105
LogWarning " Omitting package that failed validation: $ ( $packageIdentity ) @$ ( $package.Version ) "
106
106
continue
107
107
}
You can’t perform that action at this time.
0 commit comments