mirror of
https://github.com/spf13/viper
synced 2024-12-22 11:37:02 +00:00
chore(viper): gofmt
This commit is contained in:
parent
70f0ec38dd
commit
630d0d3b29
1 changed files with 1 additions and 1 deletions
2
viper.go
2
viper.go
|
@ -1152,7 +1152,7 @@ func (v *Viper) ReadInConfig() error {
|
||||||
fileExt := filepath.Ext(filename)
|
fileExt := filepath.Ext(filename)
|
||||||
|
|
||||||
if stringInSlice(fileExt, SupportedExts) {
|
if stringInSlice(fileExt, SupportedExts) {
|
||||||
log.Println("warning:", "Looks like you have included the file extention in the file name." +
|
log.Println("warning:", "Looks like you have included the file extention in the file name."+
|
||||||
"Consider using SetConfigType method instead.")
|
"Consider using SetConfigType method instead.")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue