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(config): Propagate validation errors #882

Merged
merged 2 commits into from
Dec 8, 2023
Merged

Conversation

epage
Copy link
Collaborator

@epage epage commented Dec 8, 2023

When flattening an Option, all errors are silenced, making the value
None, not just "this field doesn't exist".
The easiest way around this was to not use Option.

Not too confident in all of the changes but tests pass?

Fixes #881

When `flatten`ing an `Option`, all errors are silenced, making the value
`None`, not just "this field doesn't exist".
The easiest way around this was to not use `Option`.

Not too confident in all of the changes but tests pass?

Fixes crate-ci#881
@epage epage merged commit 4362a6e into crate-ci:master Dec 8, 2023
14 checks passed
@epage epage deleted the regex branch December 8, 2023 19:33
@phip1611
Copy link
Contributor

phip1611 commented Dec 8, 2023

Wonderful! Thanks for the quick fix :)

epage added a commit to epage/typos that referenced this pull request Aug 22, 2024
epage added a commit to epage/typos that referenced this pull request Aug 22, 2024
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.

Bug: invalid regex in extend-ignore-identifiers-re silently stops config file parsing
2 participants