-
Notifications
You must be signed in to change notification settings - Fork 9
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
Convert to util.promisify and async/await #25
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a bunch, this generally LGTM.
Need to shim Promise.prototype.finally
since it's only available on Node 10+
If we're targeting Node 8+, Is there any reason not to write |
Not at all, change to async/await welcome. We can just use regular |
aa0de6e
to
1fcd7ed
Compare
Updated! The |
Looks great, thanks. |
I have invited you to the project by the way. With the other maintainers being @whmountains and @dlee-nvisia :] |
Published 2.0 (wanted to be on the safe side) |
Thank you! Look forward to helping. |
Ref #23 (comment)
Rather than wrapping the callback generically, it seems clearest to produce the correct output value all at once.
I'm getting a test failure locally on
withDir
, though I have the same failure in master. Any ideas what's causing that?