diff options
author | Zijian Liu <Lxxyxzj@gmail.com> | 2020-11-24 09:30:26 +0300 |
---|---|---|
committer | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2020-11-27 20:43:41 +0300 |
commit | b938f88204945b02fb9a79b387c4961714fdaeb0 (patch) | |
tree | 655134515e005dd9fc62522e2ec9455da1e3a0c3 /tools/icu | |
parent | 8d6c2f2ada79e52ec0b376769a7d94814945bd4f (diff) |
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>
Diffstat (limited to 'tools/icu')
0 files changed, 0 insertions, 0 deletions