You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2023. It is now read-only.
- Use fs.stat instead of fs.exists because the latter is deprecated
- Properly pass errors along. `fs.exists()` had an odd signature
that was missing the typical Node.js `error` argument as its
first position, and instead always called the callback with a
single boolean.
When the `async` package was updated to 3.x, this broke this
functionality (and the tests), because it didn’t handle this
“interpret a boolean as an error” hack well.
Fix this by passing proper error objects to the callback.
0 commit comments