Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
johnhaley81 merged 1 commit intonodegit:masternodegit/nodegit:masterfrom
wasadigi:masterwasadigi/nodegit:masterCopy head branch name to clipboard
Jun 8, 2016
Merged

Replace then() with done(), so that error callback is not swalled by …#1047
johnhaley81 merged 1 commit intonodegit:masternodegit/nodegit:masterfrom
wasadigi:masterwasadigi/nodegit:masterCopy head branch name to clipboard

Conversation

@wasadigi
Copy link
Contributor

@wasadigi wasadigi commented Jun 8, 2016

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.

@johnhaley81
Copy link
Collaborator

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

Thanks @wasadigi

@johnhaley81 johnhaley81 merged commit 322c54f into nodegit:master Jun 8, 2016
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.