Commit 9c2b1401 authored by Rich Trott's avatar Rich Trott
Browse files

test: remove try/catch in common.isMainThread

Refactor common.isMainThread.

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


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
parent 39a2ac4c
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