Please sign in to comment.
fs: invoke callbacks with undefined context
Many callbacks appear to be invoked with `this` set to `undefined` including `fs.stat()`, `fs.lstat()`, and `fs.fstat()`. However, some such as `fs.open()` and `fs.mkdtemp()` invoke their callbacks with `this` set to `null`. Change to `undefined`. PR-URL: #14645 Reviewed-By: Luigi Pinca <firstname.lastname@example.org> Reviewed-By: Matteo Collina <email@example.com> Reviewed-By: James M Snell <firstname.lastname@example.org> Reviewed-By: Refael Ackermann <email@example.com>
- Loading branch information...
Showing with 3 additions and 3 deletions.