Skip to content
Myr

fix: force ForEach-Object to return array in pwsh completion (#1850)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixes #1847

authored by Norman Dankert · committed by GitHub · parent 4305498 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:powershell_completions.go+1 added-1 removed
135 unmodified lines
136 return137 }138139 $Longest = 0140 $Values = $Out | ForEach-Object {140 [Array]$Values = $Out | ForEach-Object {141 #Split the output in name and description142`+" $Name, $Description = $_.Split(\"`t\",2)"+`143 __%[1]s_debug "Name: $Name Description: $Description"144
166 unmodified lines