Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make compatible with promisify-node 0.4.0 #1365

Closed

Conversation

olivierlemasle
Copy link

The test function is required to force promisify-node to promisify native functions, because async inference based on argument's names cannot work on native functions.

With promisify-node ~0.3.0, functions were always promisify, even if they were not considered asynchronous by async inference. The change of behavior was introduced "insidiously" in nodegit/promisify-node#15.

The `test` function is required to force promisify-node
to promisify native functions, because async inference
based on argument's names cannot work on native functions.

With promisify-node ~0.3.0, functions were always
promisify, even if they were not considered asynchronous
by async inference.
@olivierlemasle
Copy link
Author

Superseded by #1519.

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.

1 participant