aboutsummaryrefslogtreecommitdiffstats
path: root/commands/select.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/select.go')
-rw-r--r--commands/select.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/commands/select.go b/commands/select.go
index 64e38d9b..34d00a32 100644
--- a/commands/select.go
+++ b/commands/select.go
@@ -27,11 +27,10 @@ instead of
The complementary command is "git bug deselect" performing the opposite operation.
`,
- PreRunE: loadBackend(env),
- PostRunE: closeBackend(env),
- RunE: func(cmd *cobra.Command, args []string) error {
+ PreRunE: loadBackend(env),
+ RunE: closeBackend(env, func(cmd *cobra.Command, args []string) error {
return runSelect(env, args)
- },
+ }),
}
return cmd