FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Replace then() with done(), so that error callback is not swalled by … by wasadigi · Pull Request #1047 · nodegit/nodegit · GitHub

Repository navigation

Replace then() with done(), so that error callback is not swalled by … - #1047

Merged
johnhaley81 merged 1 commit into
nodegit:masterfrom
wasadigi:master
Jun 8, 2016
Merged

johnhaley81 merged 1 commit into
nodegit:masterfrom
wasadigi:master

Conversation

wasadigi commented Jun 8, 2016

Copy link
Copy Markdown
Contributor

When using the revwalk.walk function, if I make an error in the implementation of my callback, it is swalled by the code. Replacing then() with done() fixes the issue.

Copy link
Copy Markdown
Collaborator

This function needs a better implementation as well. Someday :)

Thanks @wasadigi

johnhaley81 merged commit 322c54f into nodegit:master Jun 8, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL