-
-
Notifications
You must be signed in to change notification settings - Fork 37.2k
ENOENT or ENOTDIR in fs module #3850
Copy link
Copy link
Closed
Labels
fsIssues and PRs related to file-system APIs and the fs module.Issues and PRs related to file-system APIs and the fs module.macosIssues and PRs related to the macOS platform.Issues and PRs related to the macOS platform.
Description
Activity
Metadata
Metadata
Assignees
Labels
fsIssues and PRs related to file-system APIs and the fs module.Issues and PRs related to file-system APIs and the fs module.macosIssues and PRs related to the macOS platform.Issues and PRs related to the macOS platform.
There is a test here for
fs.openSyncopen non-existent file. It should raiseENOENTerror.But on my mac os 10.10.5 with node 5.0.0 installed via homebrew this test raised
ENOTDIRerror.Is it expected behaviour?