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 @@ -183,17 +183,17 @@ function ProcessPackage($packageInfo)
183183 # Check if the function supports the packageInfo parameter
184184 $functionInfo = Get-Command $FindArtifactForApiReviewFn - ErrorAction SilentlyContinue
185185 $supportsPackageInfoParam = $false
186-
186+
187187 if ($functionInfo -and $functionInfo.Parameters ) {
188188 # Check if function specifically supports packageInfo parameter
189189 $parameterNames = $functionInfo.Parameters.Keys
190190 $supportsPackageInfoParam = $parameterNames -contains ' packageInfo'
191191 }
192-
192+
193193 # Call function with appropriate parameters
194194 if ($supportsPackageInfoParam ) {
195195 LogInfo " Calling $FindArtifactForApiReviewFn with packageInfo parameter"
196- $packages = & $FindArtifactForApiReviewFn $ArtifactPath $pkgArtifactName $ packageInfo
196+ $packages = & $FindArtifactForApiReviewFn $ArtifactPath $packageInfo
197197 }
198198 else {
199199 LogInfo " Calling $FindArtifactForApiReviewFn with legacy parameters"
You can’t perform that action at this time.
0 commit comments