You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm constantly getting the "no such sha found" error in the get_raw_object_by_sha1 function. I'm using Node 0.12.4 and NPM 2.11.3. The error occurs on the last line of the method (183):
// No results throw an error that no sha pack object was found
throw "no such sha found";
}
I'm using version 0.1.5 from npm in a Grunt plugin, fetching tags from the remote repo. It's been working fine before I reinstalled my environment, and now it borks. My co-worker's copy still functions, but he's on Node 0.10.* and npm 2.5.*.
The code in the Grunt plugin that is making the request:
var repo = new Repo(options.git.projectDirectory, {}, function(err, r) {
r.tags(function(err, tags) {
var tagArr = [];
for (var tagIndex in tags) {
var tag = tags[tagIndex];
tagArr.push(tag.name);
}
(callback)(tagArr);
});
});
The callback function to r.tags is never called.
The text was updated successfully, but these errors were encountered:
I'm constantly getting the "no such sha found" error in the
get_raw_object_by_sha1
function. I'm using Node0.12.4
and NPM2.11.3
. The error occurs on the last line of the method (183):I'm using version 0.1.5 from npm in a Grunt plugin, fetching tags from the remote repo. It's been working fine before I reinstalled my environment, and now it borks. My co-worker's copy still functions, but he's on Node 0.10.* and npm 2.5.*.
The code in the Grunt plugin that is making the request:
The callback function to
r.tags
is never called.The text was updated successfully, but these errors were encountered: