cli: add flag for disabling globals #45474
Annotations
2 errors
test/parallel/test-process-env-allowed-flags-are-documented.js#L118
--- stderr ---
node:assert:125
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: The following options are not documented as allowed in NODE_OPTIONS in /Users/runner/work/node/node/doc/api/cli.md: --disable-global
at Object.<anonymous> (/Users/runner/work/node/node/test/parallel/test-process-env-allowed-flags-are-documented.js:118:8)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 1,
expected: 0,
operator: 'strictEqual'
}
Node.js v22.0.0-pre
Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-process-env-allowed-flags-are-documented.js
|
|
The logs for this run have expired and are no longer available.
Loading