Update Codecov's scraping to use SVG

See #368
This commit is contained in:
Thaddee Tyl 2015-02-12 19:18:59 +01:00
parent 13fb4740fc
commit 340b32ca27

View File

@ -1312,7 +1312,7 @@ cache(function(data, match, sendBadge, request) {
var branch = match[2];
var format = match[3];
var apiUrl = {
url: 'https://codecov.io/' + userRepo + '/coverage.png',
url: 'https://codecov.io/' + userRepo + '/coverage.svg',
followRedirect: false,
method: 'HEAD',
};