Skip to content
New issue

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

fix running poutine without a config file #69

Merged
merged 1 commit into from
May 9, 2024
Merged

Conversation

becojo
Copy link
Contributor

@becojo becojo commented May 9, 2024

In this repo if you delete the file .poutine.yml and run poutine you get the following error:

$ go run . analyze_local .
{"level":"error","error":"open .poutine.yml: no such file or directory","time":"2024-05-09T11:44:21-04:00","message":"Can't read config"}

Viper does not return a viper.ConfigFileNotFoundError if viper.SetConfigFile is used.

@becojo becojo requested a review from a team as a code owner May 9, 2024 15:49
@becojo becojo merged commit fc37055 into main May 9, 2024
7 checks passed
@becojo becojo deleted the fix-config-file-load branch May 9, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants