-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
Confusing error message in fs.utils #32871
Copy link
Copy link
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.
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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
node/lib/internal/fs/utils.js
Line 543 in f22a9ca
This check can produce confusing error message when
offset is equal tobufferLength. Which is error, but message shows, that it is correct (<=)