aboutsummaryrefslogtreecommitdiffstats
path: root/commands/root.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/root.go')
-rw-r--r--commands/root.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/commands/root.go b/commands/root.go
index 387c6342..1a424d32 100644
--- a/commands/root.go
+++ b/commands/root.go
@@ -84,16 +84,10 @@ func loadRepoEnsureUser(cmd *cobra.Command, args []string) error {
return err
}
- set, err := identity.IsUserIdentitySet(repo)
+ _, err = identity.GetUserIdentity(repo)
if err != nil {
return err
}
- if !set {
- // Print the error directly to not confuse a user
- _, _ = fmt.Fprintln(os.Stderr, identity.ErrNoIdentitySet.Error())
- os.Exit(-1)
- }
-
return nil
}