mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
test: check --test
is disallowed in NODE_OPTIONS
PR-URL: https://github.com/nodejs/node/pull/44846 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
This commit is contained in:
parent
c50987ed58
commit
2c57b94920
@ -28,6 +28,7 @@ disallow('--v8-options');
|
||||
disallow('--expose_internals');
|
||||
disallow('--expose-internals');
|
||||
disallow('--');
|
||||
disallow('--test');
|
||||
|
||||
function disallow(opt) {
|
||||
const env = { ...process.env, NODE_OPTIONS: opt };
|
||||
|
Loading…
Reference in New Issue
Block a user