use less words
This commit is contained in:
parent
1ee31db033
commit
f7be93b135
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ func prClose(cmd *cobra.Command, args []string) error {
|
|||
}
|
||||
|
||||
if pr.State == "MERGED" {
|
||||
fmt.Fprintf(colorableErr(cmd), "%s Can't close pull request #%d because it was already merged\n", utils.Yellow("!"), pr.Number)
|
||||
fmt.Fprintf(colorableErr(cmd), "%s Pull request #%d was already merged\n", utils.Yellow("!"), pr.Number)
|
||||
return nil
|
||||
} else if pr.Closed {
|
||||
fmt.Fprintf(colorableErr(cmd), "%s Pull request #%d is already closed\n", utils.Yellow("!"), pr.Number)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue