Commit eb5e1ddd authored by Gerhard Stoebich's avatar Gerhard Stoebich Committed by Rich Trott
Browse files

errors: remove dead code in ERR_INVALID_ARG_TYPE

Remove unreachable code. As expected is converted to an Array the
'not ' check will be never executed.

PR-URL: https://github.com/nodejs/node/pull/31322


Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
Reviewed-By: default avatarYongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent b772b9ab
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