Commit 697e70a
committed
refactor: use getExecOutput and simplify control flow
Replace the hand-rolled `exec` + `listeners.stdout/stderr` buffer
capture with `getExecOutput`, which already returns
`{ exitCode, stdout, stderr }` and still streams live output into the
group. Drop the `groupOpen` boolean (`endGroup()` is idempotent — just
writes `::endgroup::`, repeated calls are harmless), remove the
`finally` block, and flatten the success path with an early `continue`.1 parent 21f6c6e commit 697e70a
2 files changed
Lines changed: 16 additions & 35 deletions
0 commit comments