Fix Gemnasium badges
Gemnasium has changed the 'y' position of the text, so shields version of the gemnasium badges are currently broken. This commit fixes them.
This commit is contained in:
parent
16946098ac
commit
cd7d0fd488
|
@ -1075,7 +1075,7 @@ cache(function(data, match, sendBadge) {
|
|||
}
|
||||
try {
|
||||
var nameMatch = buffer.match(/(devD|d)ependencies/)[0];
|
||||
var statusMatch = buffer.match(/'12'>(.+)<\/text>\n<\/g>/)[1];
|
||||
var statusMatch = buffer.match(/'13'>(.+)<\/text>\n<\/g>/)[1];
|
||||
badgeData.text[0] = nameMatch;
|
||||
badgeData.text[1] = statusMatch;
|
||||
if (statusMatch === 'up-to-date') {
|
||||
|
|
Loading…
Reference in New Issue
Block a user