Skip to content
Permalink
Browse files
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>
  • Loading branch information
SergeyTsukanov authored and RafaelGSS committed Sep 26, 2022
1 parent b512436 commit daf63d2fa33a12b702b3a2ec95815a5c77d78f2f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1058,7 +1058,7 @@ import { mkdir } from 'node:fs/promises';
try {
const projectFolder = new URL('./test/project/', import.meta.url);
const createDir = await mkdir(path, { recursive: true });
const createDir = await mkdir(projectFolder, { recursive: true });
console.log(`created ${createDir}`);
} catch (err) {

0 comments on commit daf63d2

Please sign in to comment.