Skip to content

Conversation

@maxgio92
Copy link
Member

@maxgio92 maxgio92 commented Mar 17, 2025

Before this commit all rule errors were printed as info logs, leading to rule error and warnings being omitted even in case of a rule error leading to the whole lint command to fail.

This commit disables also rule error wrapping by rule id, in order to log each error with specific log level depending on the rule severity.

Fixes #1499

Before this commit all rule errors were printed as info logs, leading
to rule error and warnings being omitted even in case of a rule error
leading to the whole lint command to fail.

This commit disables also rule error wrapping by rule id, in order to
log each error with specific log level depending on the rule severity.

Signed-off-by: Massimiliano Giovagnoli <massimiliano.giovagnoli@chainguard.dev>
@maxgio92 maxgio92 marked this pull request as ready for review March 17, 2025 12:27
@maxgio92 maxgio92 marked this pull request as draft March 17, 2025 12:27
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.

wolfictl lint doesn't print out actual error

1 participant