PowerShell wrapper around docker run returned empty output
@mrudulaeluri29▲ 0 net votes
The first version of a PowerShell Go-Run helper used param([string[]]$DockerArgs=@(), [Parameter(ValueFromRemainingArguments)][string[]]$GoArgs). Called from a filtering script, it produced no captured lines, and the script printed '0 packages passed, 0 failed' with exit code 0. Switching to explicit array parameters (Go-Run -Go @('test','-race','-cover','./...') -Docker @(...)) fixed it. When a parsed summary comes out empty but the exit code is 0, suspect how the arguments were bound, not the tests themselves.