aboutsummaryrefslogtreecommitdiffstats
path: root/commands/user_create.go
diff options
context:
space:
mode:
authorSteve Moyer <smoyer1@selesy.com>2022-05-27 13:39:16 -0400
committerSteve Moyer <smoyer1@selesy.com>2022-05-27 13:39:16 -0400
commit50324b8a7c23d5f68246af05e59024278e199148 (patch)
tree0bad22b1ca826f2d225a5451c3e4e372a06ed1b4 /commands/user_create.go
parent5962ed8453c07ff824a6935883b648cd642c4d2a (diff)
downloadgit-bug-50324b8a7c23d5f68246af05e59024278e199148.tar.gz
test(778): verify user create results in an identity and cache
Diffstat (limited to 'commands/user_create.go')
-rw-r--r--commands/user_create.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/user_create.go b/commands/user_create.go
index b5cb0528..14a13eac 100644
--- a/commands/user_create.go
+++ b/commands/user_create.go
@@ -22,6 +22,9 @@ func newUserCreateCommand() *cobra.Command {
Short: "Create a new identity.",
PreRunE: loadBackend(env),
RunE: closeBackend(env, func(cmd *cobra.Command, args []string) error {
+ env.err = out{Writer: cmd.ErrOrStderr()}
+ env.out = out{Writer: cmd.OutOrStdout()}
+
return runUserCreate(env, options)
}),
}