Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

implausible
Copy link
Member

I'm trying to get rid of the nodegit-promise library, because the promise spec is basically complete in Node on all LTS versions of Node. I think the last holdup was .finally, and that's officially in node 10 and above https://node.green/#ES2018-features-Promise-prototype-finally

This shouldn't break anything at all...

Interesting thing to note, we basically promisify every function 1 by 1 after the nodegit.js template gets hydrated. We also don't write node-callback style functions in our lib folder anymore. So that means the promisify(exports) function that we wrote should no longer be necessary in the nodegit.js template.

@ianhattendorf ianhattendorf merged commit dcb94e9 into nodegit:master Mar 26, 2020
@implausible implausible deleted the get-rid-of-promisify-node branch March 26, 2020 18:28
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