Merge pull request #72 from kzvezdarov/cwd-fix Removed CWD from default search path
diff --git a/viper.go b/viper.go index 946f9c1..11f3a77 100644 --- a/viper.go +++ b/viper.go
@@ -148,13 +148,6 @@ v.env = make(map[string]string) v.aliases = make(map[string]string) - wd, err := os.Getwd() - if err != nil { - jww.INFO.Println("Could not add cwd to search paths", err) - } else { - v.AddConfigPath(wd) - } - return v }