Open arikon opened 9 years ago
Yep, that's weird - it should be red!
@arikon can you provide link to test it?
@alanshaw, In the current implementation david calculate percentage of the "out of date" dependencies.
if (totals.unpinned.outOfDate / depList.length > 0.25) {
status = "outofdate"
} else {
status = "notsouptodate"
}
We can replace condition on totals.unpinned.outOfDate > 0
.
@aivus I can't, because it is on the in-house instance of David.
This is still a bug, and renders the badge completely useless as one of the projects I have it in has all the package versions pinned.
Here is the case:
But David shows yellow up-to-date button:
I expect it to be red out-of-date.