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 )
22> Utilities for checking the coverage produced by NYC against extra or missing files
33
44## Use
Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ function updateBadge(args) {
6969
7070 // note, Shields.io escaped '-' with '--'
7171 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 } ` ,
7373 )
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 } `
7575 debug ( 'coverage regex: "%s"' , coverageRe )
7676 debug ( 'new coverage badge: "%s"' , coverageBadge )
7777
You can’t perform that action at this time.
0 commit comments