Skip to content

Commit 3713aae

Browse files
Pass the releases array to Write-Output by named parameter
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent d52d450 commit 3713aae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/Resolve-PSModuleVersion/src/Resolve-PSModuleVersion.Helpers.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ function Get-GitHubRelease {
311311
Write-Host '-------------------------------------------------'
312312

313313
# -NoEnumerate keeps an empty or single-element result an array through the pipeline.
314-
Write-Output -NoEnumerate $releases
314+
Write-Output -NoEnumerate -InputObject $releases
315315
}
316316
}
317317

0 commit comments

Comments
 (0)