Skip to content

Commit

Permalink
PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeschuurmans committed Oct 14, 2024
1 parent de3d657 commit 7487c6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func readInFile(v *viper.Viper, cfg *Configuration, path string) error {
if err != nil {
return errors.Wrap(ErrConfig, err.Error())
}
defer fh.Close()

if err = v.ReadConfig(fh); err != nil {
return errors.Wrap(ErrConfig, "ReadConfig error:"+err.Error())
Expand Down

0 comments on commit 7487c6c

Please sign in to comment.