Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: clarify mkdir() recursive behavior #48109

Merged
merged 6 commits into from
May 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update doc/api/fs.md
  • Loading branch information
Trott authored May 22, 2023
commit 1a3c70a49f72dc4402d35fde3ebd882afedfd553
3 changes: 0 additions & 3 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
@@ -3216,9 +3216,6 @@ mkdir('./tmp/a/apple', { recursive: true }, (err) => {
});
```

without `recursive` being set as true it the code above,output shows an error


On Windows, using `fs.mkdir()` on the root directory even with recursion will
result in an error: