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

throw error when severity isn't set for custom check #360

Merged
merged 3 commits into from Jun 22, 2020
Merged

Conversation

rbren
Copy link
Member

@rbren rbren commented Jun 22, 2020

No description provided.

Copy link
Contributor

@baderbuddy baderbuddy left a comment

Choose a reason for hiding this comment

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

Lookin good

@codecov
Copy link

codecov bot commented Jun 22, 2020

Codecov Report

Merging #360 into master will increase coverage by 0.12%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #360      +/-   ##
==========================================
+ Coverage   53.52%   53.65%   +0.12%     
==========================================
  Files          12       12              
  Lines         723      725       +2     
==========================================
+ Hits          387      389       +2     
  Misses        283      283              
  Partials       53       53              
Impacted Files Coverage Δ
pkg/config/config.go 62.50% <100.00%> (+1.97%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b4e3d40...53fa87b. Read the comment docs.

@rbren rbren merged commit 5705f81 into master Jun 22, 2020
@rbren rbren deleted the rb/check-syntax branch June 22, 2020 20:53
@samuelb
Copy link
Contributor

samuelb commented Jul 4, 2020

I would rather show a warning instead of error and return. This would allow to comment out a custom check without the need to remove/comment out the whole custom check definition as well. Only for the convince.

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.

None yet

4 participants