Skip to content

Commit

Permalink
fix error message from viper
Browse files Browse the repository at this point in the history
  • Loading branch information
dee-kryvenko committed Apr 16, 2020
1 parent 77d1ad3 commit b6c3972
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.0.5] - 2020-04-15

### Fix

- Do not print an error message if config file was not found

## [0.0.4] - 2020-04-15

### Added
Expand Down
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ func initConfig() {

if err := viper.ReadInConfig(); err == nil {
log.Println("Using config file:", viper.ConfigFileUsed())
} else {
log.Println(err)
}
}

Expand Down

0 comments on commit b6c3972

Please sign in to comment.