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