Update vendor (#1560)
This commit is contained in:
2
vendor/github.com/spf13/viper/README.md
generated
vendored
2
vendor/github.com/spf13/viper/README.md
generated
vendored
@@ -119,7 +119,7 @@ viper.AddConfigPath("$HOME/.appname") // call multiple times to add many search
|
||||
viper.AddConfigPath(".") // optionally look for config in the working directory
|
||||
err := viper.ReadInConfig() // Find and read the config file
|
||||
if err != nil { // Handle errors reading the config file
|
||||
panic(fmt.Errorf("Fatal error config file: %s \n", err))
|
||||
panic(fmt.Errorf("Fatal error config file: %w \n", err))
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user