Skip to content

Commit

Permalink
clean up error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Sep 24, 2020
1 parent c76984c commit 26f886b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ var execCmd = &cobra.Command{
cfg, err := ini.Load(home + defaultFullConfigPath)
profileSection, err := cfg.GetSection("profile " + profileName)
if err != nil {
log.Fatal("unable to create profile section: ", err)
log.Fatal("unable to find profile: ", err)
}

if profileSection.Key("email").String() == "" {
Expand Down

0 comments on commit 26f886b

Please sign in to comment.