From 9721f75b2b1370ada29b81d8d69e67394d90fdb1 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Mon, 18 May 2020 14:39:29 -0700 Subject: [PATCH] Update command/pr.go Co-authored-by: Billy Griffin <5091167+billygriffin@users.noreply.github.com> --- command/pr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/pr.go b/command/pr.go index 863e7c043..de85878d6 100644 --- a/command/pr.go +++ b/command/pr.go @@ -592,7 +592,7 @@ func prReady(cmd *cobra.Command, args []string) error { } if pr.Closed { - err := fmt.Errorf("%s Pull request #%d is closed and can't be marked \"ready for review\"", utils.Red("!"), pr.Number) + err := fmt.Errorf("%s Pull request #%d is closed. Only draft pull requests can be marked as \"ready for review\"", utils.Red("!"), pr.Number) return err } else if !pr.IsDraft { fmt.Fprintf(colorableErr(cmd), "%s Pull request #%d was already marked as \"ready for review\"\n", utils.Yellow("!"), pr.Number)