Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit bb4ed13

Browse files
committed
Use error from RunCommandWithoutTest
I _thought_ I was running into cases where Kaniko would fail to build but the test would continue... looks like it was a bug I added!
1 parent 8eaa8fe commit bb4ed13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

integration/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func RunCommandWithoutTest(cmd *exec.Cmd) ([]byte, error) {
3030
fmt.Println(cmd.Args)
3131
fmt.Println(string(output))
3232
}
33-
return output, nil
33+
return output, err
3434
}
3535

3636
// RunCommand will run cmd and if it fails will output relevant info for debugging

0 commit comments

Comments
 (0)