Skip to content

Commit 4f2273d

Browse files
Merge pull request #449 from depot/pedro/fix-ci-run-list-empty-message
fix: improve empty state message for ci run list
2 parents 4c4d50a + ee0600a commit 4f2273d

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 matching runs found.")
525+
}
522526
return nil
523527
}
524528

0 commit comments

Comments
 (0)