fs: pass ERR_DIR_CLOSED asynchronously to dir.close
Pass the error to the callback or returns a rejected Promise instead of throwing a synchonous error. Fixes: https://github.com/nodejs/node/issues/36237 PR-URL: https://github.com/nodejs/node/pull/36243 Reviewed-By:Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By:
Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Yongsheng Zhang <zyszys98@gmail.com>
parent
8d6c2f2a
Please register or sign in to comment