Fix broken travis branches
Hello, Looks like when you request a build status for a branch it ignores the branch! Seems a typo in the code. Jason
This commit is contained in:
parent
f207b4f60f
commit
cc070f535e
|
@ -295,7 +295,7 @@ cache(function(data, match, sendBadge, request) {
|
|||
uri: 'https://api.travis-ci.org/' + userRepo + '.svg',
|
||||
};
|
||||
if (branch != null) {
|
||||
options.path += '?branch=' + branch;
|
||||
options.uri += '?branch=' + branch;
|
||||
}
|
||||
var badgeData = getBadgeData('build', data);
|
||||
request(options, function(err, res) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user