mirror of
https://github.com/spf13/viper
synced 2025-05-06 04:07:17 +00:00
remove debugging line
This commit is contained in:
parent
1377bd5bd2
commit
e6afa04a3a
1 changed files with 0 additions and 1 deletions
1
viper.go
1
viper.go
|
@ -1947,7 +1947,6 @@ func (v *Viper) searchInPath(in string) (filename string, err error) {
|
||||||
for _, ext := range SupportedExts {
|
for _, ext := range SupportedExts {
|
||||||
jww.DEBUG.Println("Checking for", filepath.Join(in, v.configName+"."+ext))
|
jww.DEBUG.Println("Checking for", filepath.Join(in, v.configName+"."+ext))
|
||||||
b, err := exists(v.fs, filepath.Join(in, v.configName+"."+ext))
|
b, err := exists(v.fs, filepath.Join(in, v.configName+"."+ext))
|
||||||
fmt.Printf("%s %t %s\n", filepath.Join(in, v.configName+"."+ext), b, err)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
lastError = err
|
lastError = err
|
||||||
} else if b {
|
} else if b {
|
||||||
|
|
Loading…
Add table
Reference in a new issue