-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.regressionIssues related to regressions.Issues related to regressions.
Description
Version
v23.1.0
Platform
Linux akait-notebook 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
const fs = require("fs");
fs.readFile("/", err => {
console.log(err);
});
fs.readFile("/", err => {
console.log(err);
});
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
Like in Node.js@22
, each callback should be run with err
and code
should be EISDIR
What do you see instead?
The call happens only once for the first call and the callbacks are not called instead an error is thrown like for sync function
Additional information
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.regressionIssues related to regressions.Issues related to regressions.