Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cmd/gh-aw/main_entry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@ func TestMainFunctionExecutionPath(t *testing.T) {
cmd.Dir = "."

// This should run successfully (exit code 0) even if no workflows found
output, err := cmd.Output()
// Use CombinedOutput to capture both stdout and stderr (version now outputs to stderr)
output, err := cmd.CombinedOutput()
if err != nil {
// Check if it's just a non-zero exit (which is okay for some commands)
if exitError, ok := err.(*exec.ExitError); ok {
Expand Down
Loading