Skip to content

Commit acc313c

Browse files
committed
fix: improve empty state message for ci run list
1 parent 4c4d50a commit acc313c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pkg/cmd/ci/run.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,11 @@ func NewCmdRunList() *cobra.Command {
518518
}
519519

520520
if len(runs) == 0 {
521-
fmt.Println("No runs found.")
521+
if len(statuses) == 0 {
522+
fmt.Println("No queued or active runs found. Use --status to view other runs.")
523+
} else {
524+
fmt.Println("No runs found.")
525+
}
522526
return nil
523527
}
524528

0 commit comments

Comments
 (0)