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
This is my complete code, I only removed the directoryname for privacy concerns. Note that I do not see 'success' or 'error'. If I return _repository.getReference('HEAD') in stead of true, the done() is never called.
Activity
johnhaley81 commentedon Dec 4, 2014
That is very strange. Can you post the complete relevant code block please?
On Thu, Dec 4, 2014, 4:55 AM Bas Biesheuvel notifications@github.com
wrote:
Athaphian commentedon Dec 4, 2014
This is my complete code, I only removed the directoryname for privacy concerns. Note that I do not see 'success' or 'error'. If I return _repository.getReference('HEAD') in stead of true, the done() is never called.
johnhaley81 commentedon Dec 4, 2014
This is a bug inside of /lib/repository.js.
I'm looking into it now. Hopefully a fix will be easy. For right now you can use
_repository.head().Fix #311
johnhaley81 commentedon Dec 4, 2014
That PR should fix the issue. I'll merge it in today and we'll have to publish another version here soon. We have a decent amount of fixes in.
Fix #311
Merge pull request #312 from nodegit/fix-issue-311