Skip to content

Commit

Permalink
Change cmd to use run instead of output
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewuolle committed Nov 22, 2024
1 parent 6ce9aa8 commit eef88a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ func Run(cmd *exec.Cmd) ([]byte, error) {
cmd.Stdout = GinkgoWriter
cmd.Stderr = GinkgoWriter

output, err := cmd.Output()
err := cmd.Run()
if err != nil {
return nil, handleCmdError(err, command)
}

return output, nil
return nil, nil
}

func handleCmdError(err error, command string) error {
Expand Down

0 comments on commit eef88a6

Please sign in to comment.