Skip to content

Commit

Permalink
Merge pull request #312 from nmiyake/fixConfigError
Browse files Browse the repository at this point in the history
Return error if configuration parsing fails
  • Loading branch information
LandonTClipp authored Jul 6, 2020
2 parents df897e6 + 1538e7a commit 0fd3a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/mockery.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var (
r, err := GetRootAppFromViper(viper.GetViper())
if err != nil {
printStackTrace(err)
return nil
return err
}
return r.Run()
},
Expand Down

0 comments on commit 0fd3a24

Please sign in to comment.