Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 807498f commit 0ab8f73Copy full SHA for 0ab8f73
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