Unverified Commit 03038483 authored by Joyee Cheung's avatar Joyee Cheung
Browse files

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: default avatarJames M Snell <jasnell@gmail.com>
parent 12ae3347
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment