We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4927d2e + 0ab8f73 commit 60f17f0Copy full SHA for 60f17f0
1 file changed
github.js
@@ -234,6 +234,7 @@
234
// Just use head if path is empty
235
if (path === "") return that.getRef("heads/"+branch, cb);
236
that.getTree(branch+"?recursive=true", function(err, tree) {
237
+ if (err) return cb(err);
238
var file = _.select(tree, function(file) {
239
return file.path === path;
240
})[0];
0 commit comments