We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.19.0
1.23.5
Flags
YAML
No response
viper.SetConfigName("testfile") viper.SetConfigType("yaml") viper.AddConfigPath("/dir/dir2/testfile")
When searching if file exists, file path should only be searched with list of available extension and custom extension if provided in config.
In line 86 in file.go , extension is not added while checking exists so incorrect files will be matched.
The text was updated successfully, but these errors were encountered:
Fixed in #1990
Sorry, something went wrong.
@sagikazarmark can you please check this?
No branches or pull requests
Preflight Checklist
Viper Version
1.19.0
Go Version
1.23.5
Config Source
Flags
Format
YAML
Repl.it link
No response
Code reproducing the issue
Expected Behavior
When searching if file exists, file path should only be searched with list of available extension and custom extension if provided in config.
Actual Behavior
In line 86 in file.go , extension is not added while checking exists so incorrect files will be matched.
Steps To Reproduce
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: