Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ce085d7

Browse filesBrowse files
SergeyTsukanovRafaelGSS
authored andcommitted
fs: fix typo in mkdir example
PR-URL: #44791 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
1 parent fa315b7 commit ce085d7
Copy full SHA for ce085d7

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/fs.md‎

Copy file name to clipboardExpand all lines: doc/api/fs.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ import { mkdir } from 'node:fs/promises';
10581058

10591059
try {
10601060
const projectFolder = new URL('./test/project/', import.meta.url);
1061-
const createDir = await mkdir(path, { recursive: true });
1061+
const createDir = await mkdir(projectFolder, { recursive: true });
10621062

10631063
console.log(`created ${createDir}`);
10641064
} catch (err) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.