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: allow for more generic errors in loadPkg #543

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

HeyItsGilbert
Copy link
Contributor

fix: allow for more generic errors in loadPkg

os.Stat() was receiving an error but the conditional was only looking for a "not exist" error. This change makes it so that we skip if there are ANY errors.

Related to #542

@HeyItsGilbert
Copy link
Contributor Author

I confirmed this by running: env GOOS=windows go build and downloading the artifact from my codespace. Pointed that to my vale.ini with a URL and it succeeded!

@jdkato jdkato merged commit 74e4bde into errata-ai:v2 Jan 6, 2023
@jdkato
Copy link
Member

jdkato commented Jan 6, 2023

Thanks!

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.

None yet

2 participants