We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 196cddd commit fee3036Copy full SHA for fee3036
command/pr.go
@@ -180,6 +180,12 @@ func prList(cmd *cobra.Command, args []string) error {
180
return err
181
}
182
183
+ if len(prs) == 0 {
184
+ colorOut := colorableOut(cmd)
185
+ printMessage(colorOut, "There are no open pull requests")
186
+ return nil
187
+ }
188
+
189
table := utils.NewTablePrinter(cmd.OutOrStdout())
190
for _, pr := range prs {
191
prNum := strconv.Itoa(pr.Number)
0 commit comments