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

Add makezero linter #1705

Merged
merged 1 commit into from
Mar 18, 2023
Merged

Add makezero linter #1705

merged 1 commit into from
Mar 18, 2023

Conversation

avorima
Copy link
Contributor

@avorima avorima commented Mar 18, 2023

What type of PR is this?

  • cleanup

What this PR does / why we need it:

Fixes copying of errors for multiErrors. I already mentioned this in #1697.

I don't think this actually has an impact on users, because the handleMultiError function will just drop nil errors.

I added a regression test, just in case.

Which issue(s) this PR fixes:

Partially fixes: #1704

Release Notes

NONE

@avorima avorima marked this pull request as ready for review March 18, 2023 14:30
@avorima avorima requested a review from a team as a code owner March 18, 2023 14:30
@dearchap dearchap merged commit 825781d into urfave:main Mar 18, 2023
@avorima avorima deleted the add-makezero-linter branch March 20, 2023 09:09
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.

Configure additional linters
3 participants