Skip to content

Corrected an issue with not all lint sources being considered correcty during filtering#934

Merged
christopher-henderson merged 1 commit intomasterfrom
lint_source_bugs
Apr 5, 2025
Merged

Corrected an issue with not all lint sources being considered correcty during filtering#934
christopher-henderson merged 1 commit intomasterfrom
lint_source_bugs

Conversation

@christopher-henderson
Copy link
Copy Markdown
Member

Addresses #925.

Additionally, the list-sources flag was printing duplicates because the same source is present across multiple lint types (cert, crl, and ocsp).

// Trim space and try to match a known value
src = strings.TrimSpace(src)
switch LintSource(src) {
case RFC3279:
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved these around to match the ordering of the enum itself.

@christopher-henderson christopher-henderson merged commit e8d0409 into master Apr 5, 2025
8 checks passed
@christopher-henderson christopher-henderson deleted the lint_source_bugs branch April 5, 2025 16:05
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.

1 participant