@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.5.5] - 2022-02-16
### Changed
- Go version was updated from `1.16` to `1.17`
### Fixed
- Home directory was not being taken into account for loading configs.
## [1.5.4] - 2022-02-16
@ -61,7 +61,7 @@ func initConfig() {
configPaths := []string{"."}
// Home
if home, err := homedir.Dir(); err != nil {
if home, err := homedir.Dir(); err == nil {
configPaths = append(configPaths, home)
}
@ -17,7 +17,7 @@ import (
"github.com/spf13/viper"
)
const VERSION = "1.5.4"
const VERSION = "1.5.5"
type OptionMap map[string][]interface{}
type Options map[string]OptionMap