From 14773b16ca4a16cbf84416894e254e41a01764b1 Mon Sep 17 00:00:00 2001 From: Steve Moyer Date: Thu, 19 Jan 2023 20:29:33 -0500 Subject: style: resolve PR comments --- commands/bug/bug_label_rm.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'commands/bug/bug_label_rm.go') diff --git a/commands/bug/bug_label_rm.go b/commands/bug/bug_label_rm.go index 6dda007c..fca2ac46 100644 --- a/commands/bug/bug_label_rm.go +++ b/commands/bug/bug_label_rm.go @@ -22,13 +22,11 @@ func newBugLabelRmCommand(env *execenv.Env) *cobra.Command { } func runBugLabelRm(env *execenv.Env, args []string) error { - b, args, err := ResolveSelected(env.Backend, args) + b, removed, err := ResolveSelected(env.Backend, args) if err != nil { return err } - removed := args - changes, _, err := b.ChangeLabels(nil, text.CleanupOneLineArray(removed)) for _, change := range changes { -- cgit