Update command/pr.go

Co-authored-by: Billy Griffin <5091167+billygriffin@users.noreply.github.com>
This commit is contained in:
Corey Johnson 2020-05-18 14:39:43 -07:00 committed by GitHub
parent 9721f75b2b
commit 6eab3751d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -595,7 +595,7 @@ func prReady(cmd *cobra.Command, args []string) error {
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)
fmt.Fprintf(colorableErr(cmd), "%s Pull request #%d is already \"ready for review\"\n", utils.Yellow("!"), pr.Number)
return nil
}