aboutsummaryrefslogtreecommitdiffstats
path: root/commands/user/user_adopt.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/user/user_adopt.go')
-rw-r--r--commands/user/user_adopt.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/user/user_adopt.go b/commands/user/user_adopt.go
index 30fdb442..47f0f04e 100644
--- a/commands/user/user_adopt.go
+++ b/commands/user/user_adopt.go
@@ -7,9 +7,7 @@ import (
"github.com/MichaelMure/git-bug/commands/execenv"
)
-func newUserAdoptCommand() *cobra.Command {
- env := execenv.NewEnv()
-
+func newUserAdoptCommand(env *execenv.Env) *cobra.Command {
cmd := &cobra.Command{
Use: "adopt USER_ID",
Short: "Adopt an existing identity as your own",