From 7365f03f8a75b990cb182b7406d8596206761f5f Mon Sep 17 00:00:00 2001 From: Darren Wee Date: Tue, 30 Jan 2018 22:08:55 +0800 Subject: [PATCH] Move NoForward to before Noop catch --- commands/issue.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/issue.go b/commands/issue.go index bcbed95b..7f1437c4 100644 --- a/commands/issue.go +++ b/commands/issue.go @@ -445,6 +445,7 @@ func listLabels(cmd *Command, args *Args) { gh := github.NewClient(project.Host) + args.NoForward() if args.Noop { ui.Printf("Would request list of labels for %s\n", project) return @@ -457,8 +458,6 @@ func listLabels(cmd *Command, args *Args) { // TODO add a colorize flag for the labels command ui.Printf(formatLabel(label, true)) } - - args.NoForward() } func formatLabel(label github.IssueLabel, colorize bool) string { -- GitLab