Skip to content

Commit

Permalink
add fix for branches on githubusercontent.com
Browse files Browse the repository at this point in the history
  • Loading branch information
doowb committed Oct 13, 2015
1 parent a56639a commit c0848fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function parse(str) {
}
}

o.branch = o.branch || parseBranch(o.path, o);
o.branch = o.branch || seg[2] || parseBranch(o.path, o);
var res = {};
res.user = o.user || null;
res.repo = o.repo || null;
Expand Down

0 comments on commit c0848fa

Please sign in to comment.