-
Notifications
You must be signed in to change notification settings - Fork 42
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
wrap fs methods with promisify for node@12 compat #328
wrap fs methods with promisify for node@12 compat #328
Conversation
💔 Tests Failed
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪Test errorsExpand to view the tests failures
|
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 @spalger for the quick fix,
I will merge this once I fix the broken tests in master.
While working on limiting the node version in CI to match the version installed by Heartbeat (#327) we realized that the use of the
fs/promises
API is not compatible with this node version.This PR removes the
fs/promises
usage and instead exposes part of the fs API wrapped withutil.promisify()
fromsrc/helpers
and uses that insrc/core/runner
.