Skip to content

Conversation

@jonathanlam
Copy link
Member

Description

there is a bug where the empty string and other valid config files are coming up as invalid. this behaviour is also inconsistent with the comment

isValid := validator.ValidateConfig(parsedConfig) returns false

Checklist

  • I have added one of the patch, minor, major or no-release labels
  • I have linked an issue from this repository using the Development option
  • I have performed a self-review of my own code
  • I have checked for redundant or commented out code
  • I have commented my code where I can't make it self-documenting
  • I have made corresponding changes to the documentation
  • I have added any appropriate tests

@jonathanlam jonathanlam marked this pull request as ready for review November 1, 2024 05:32
@jonathanlam jonathanlam marked this pull request as draft November 4, 2024 07:53
@jonathanlam jonathanlam force-pushed the fix--add-empty-string-to-valid-severities branch from 180284a to 626e5b7 Compare December 29, 2024 14:32
@jonathanlam jonathanlam marked this pull request as ready for review December 29, 2024 14:36
@jonathanlam jonathanlam force-pushed the fix--add-empty-string-to-valid-severities branch from 65e3d1c to 2f7898c Compare December 29, 2024 21:28
@jonathanlam jonathanlam added this pull request to the merge queue Dec 30, 2024
Merged via the queue into main with commit 45048ac Dec 30, 2024
6 checks passed
@jonathanlam jonathanlam deleted the fix--add-empty-string-to-valid-severities branch December 30, 2024 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants