fs: close dir before throwing if options.bufferSize is invalid
#65480
Annotations
2 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/parallel/test-fs-opendir.js#L18
--- stderr ---
(node:64733) Warning: Closing directory handle on garbage collection
(Use `node --trace-warnings ...` to show where the warning was created)
/Users/runner/work/node/node/node/test/parallel/test-fs-opendir.js:18
throw new Error('Expected no warnings', { cause });
^
Error: Expected no warnings
at process.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-fs-opendir.js:18:9)
at process.emit (node:events:519:35)
at doEmitWarning (node:internal/process/warning:85:11)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
[cause]: [Warning: Closing directory handle on garbage collection]
}
Node.js v25.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-fs-opendir.js
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|