Files
node/test/parallel
Anna Henningsen 38ab1e9ade src: pass along errors from --security-reverts
Pass along errors from `Revert()` when a security revert
is unknown (which currently applies to all possible values).

Previously, we would unconditionally call `exit()`, which is
not nice for embedding use cases, and could crash because we
were holding a lock for a mutex in `ProcessGlobalArgs()` that
would be destroyed by calling `exit()`.

Also, add a regression test that makes sure that the process
exits with the right exit code and not a crash.

PR-URL: https://github.com/nodejs/node/pull/25466
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-01-22 22:53:26 +01:00
..
2019-01-10 03:26:51 +01:00
2018-12-10 17:07:18 +01:00
2019-01-14 18:36:32 +01:00
2018-10-23 13:32:40 -07:00
2018-12-10 17:07:18 +01:00
2018-12-08 09:20:45 -08:00
2018-10-15 07:28:52 +02:00
2019-01-10 09:00:22 -05:00
2019-01-08 12:57:24 -06:00
2019-01-05 21:36:47 +01:00
2019-01-05 21:36:47 +01:00