Closed nickbalestra closed 6 years ago
Merging #104 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #104 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 3 3
Lines 126 126
=====================================
Hits 126 126
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 6d23bbc...077d8b3. Read the comment docs.
Ah, another bug here is the wrong status code was being returned too for invalid states. Good catch.
I've noticed that with #92 (released with
2.13.0
) we introduced a bug where the CLI dosn't exit the process correctly anymore. This was due to wrappingvalidate()
in a try/catch statement although neithervalidate()
orvalidateMessage()
actually throws.To reproduce:
validate-commit-msg
v2.13.0