Skip to content

Commit

Permalink
issue badges#241 changed tense to present to match other shields
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiewebb committed Jan 14, 2017
1 parent 70fb19b commit 65bf201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -4982,10 +4982,10 @@ cache(function(data, match, sendBadge, request) {
var data = JSON.parse(buffer);
var latest_status = data.results[0].status;
if ( latest_status == 10 ) {
badgeData.text[1] = 'passed';
badgeData.text[1] = 'passing';
badgeData.colorscheme = 'brightgreen';
} else if ( latest_status < 0 ) {
badgeData.text[1] = 'failed';
badgeData.text[1] = 'failing';
badgeData.colorscheme = 'red';
} else {
badgeData.text[1] = 'building..';
Expand Down

0 comments on commit 65bf201

Please sign in to comment.