VersionEye add "dependencies: none"
Fixes https://github.com/badges/shields/issues/531#issuecomment-158363415
This commit is contained in:
parent
155dcaa6d4
commit
44b0c871d0
|
@ -2306,7 +2306,9 @@ cache(function(data, match, sendBadge, request) {
|
|||
badgeData.text[1] = res;
|
||||
if (res === 'up to date') {
|
||||
badgeData.colorscheme = 'brightgreen';
|
||||
} else if (statusMatch === 'out of date') {
|
||||
} else if (res === 'none') {
|
||||
badgeData.colorscheme = 'green';
|
||||
} else if (res === 'out of date') {
|
||||
badgeData.colorscheme = 'yellow';
|
||||
} else {
|
||||
badgeData.colorscheme = 'red';
|
||||
|
|
Loading…
Reference in New Issue
Block a user