File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- # check-code-coverage [ ![ ci status] [ ci image ]] [ ci url ]
1
+ # check-code-coverage [ ![ ci status] [ ci image ]] [ ci url ] ![ check-code-coverage ] ( https://img.shields.io/badge/code--coverage-100%25-brightgreen )
2
2
> Utilities for checking the coverage produced by NYC against extra or missing files
3
3
4
4
## Use
Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ function updateBadge(args) {
69
69
70
70
// note, Shields.io escaped '-' with '--'
71
71
const coverageRe = new RegExp (
72
- `https://img\\.shields\\.io/badge/code--coverage-\\d+%-${ availableColorsReStr } ` ,
72
+ `https://img\\.shields\\.io/badge/code--coverage-\\d+%25 -${ availableColorsReStr } ` ,
73
73
)
74
- const coverageBadge = `https://img.shields.io/badge/code--coverage-${ pct } %-${ color } `
74
+ const coverageBadge = `https://img.shields.io/badge/code--coverage-${ pct } %25 -${ color } `
75
75
debug ( 'coverage regex: "%s"' , coverageRe )
76
76
debug ( 'new coverage badge: "%s"' , coverageBadge )
77
77
You can’t perform that action at this time.
0 commit comments