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(validators): print filename on error #8

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

simskij
Copy link
Member

@simskij simskij commented Aug 29, 2023

resolves #5

Issue

As described in #5

Solution

Print filename whenever a file fails validation.

Context

Testing Instructions

Try the tool against the provided test data

Release Notes

Print the filename of alert rules that fail cos-tool rule validation.

pkg/tool/common.go Show resolved Hide resolved
@simskij simskij merged commit cea4fb1 into main Sep 22, 2023
2 checks passed
@simskij simskij deleted the fix/print-filename-on-errors branch September 22, 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.

Print the filename that failed validation
2 participants