fs: deprecate never throw behaviour in fs.existsSync #65156
Annotations
3 errors and 1 notice
Test:
test/parallel/test-fs-exists.js#L54
--- stderr ---
node:fs:289
if (!deprecationWarningEmitted) {
^
ReferenceError: deprecationWarningEmitted is not defined
at Object.existsSync (node:fs:289:5)
at Object.<anonymous> (/home/runner/work/node/node/test/parallel/test-fs-exists.js:54:12)
at Module._compile (node:internal/modules/cjs/loader:1566:14)
at Object..js (node:internal/modules/cjs/loader:1718:10)
at Module.load (node:internal/modules/cjs/loader:1305:32)
at Function._load (node:internal/modules/cjs/loader:1119:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49
Node.js v24.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 /home/runner/work/node/node/test/parallel/test-fs-exists.js
|
Test:
test/parallel/test-fs-null-bytes.js#L158
--- stderr ---
node:fs:289
if (!deprecationWarningEmitted) {
^
ReferenceError: deprecationWarningEmitted is not defined
at Object.existsSync (node:fs:289:5)
at Object.<anonymous> (/home/runner/work/node/node/test/parallel/test-fs-null-bytes.js:158:12)
at Module._compile (node:internal/modules/cjs/loader:1566:14)
at Object..js (node:internal/modules/cjs/loader:1718:10)
at Module.load (node:internal/modules/cjs/loader:1305:32)
at Function._load (node:internal/modules/cjs/loader:1119:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49
Node.js v24.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 /home/runner/work/node/node/test/parallel/test-fs-null-bytes.js
|
Test
Process completed with exit code 2.
|
Post Set up sccache
0% - 0 hits, 0 misses, 0 errors
|
Loading