fs: do not call new when creating uvException
We cannot make uvException a proper class due to compatibility reasons for now, so there is no need to call new since it only returns a newly-created Error. PR-URL: https://github.com/nodejs/node/pull/18546 Reviewed-By:James M Snell <jasnell@gmail.com>
parent
12ae3347
Please register or sign in to comment