Skip to content

src: simplify exit code accesses

This simplifies getting the exit code which is set through process.exitCode by removing manually reading the JS property from the native side.

Addresses this TODO:

https://github.com/nodejs/node/blob/5815e3e232ef31221f25a9b1997c1f161c5cffdc/src/api/hooks.cc#L72-L75

Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com

Merge request reports

Loading