Skip to content

Commit

Permalink
Fix build - 2becae broke CI (denoland#4686)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Apr 9, 2020
1 parent 2becae8 commit ac215a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/node/_fs/_fs_mkdir.ts
Expand Up @@ -31,7 +31,7 @@ export function mkdir(
);
new Promise(async (resolve, reject) => {
try {
await Deno.mkdir(path, recursive, mode);
await Deno.mkdir(path, { recursive, mode });
resolve();
} catch (err) {
reject(err);
Expand Down Expand Up @@ -66,7 +66,7 @@ export function mkdirSync(path: Path, options?: MkdirOptions): void {
"invalid recursive option , must be a boolean"
);
try {
Deno.mkdirSync(path, recursive, mode);
Deno.mkdirSync(path, { recursive, mode });
} catch (err) {
throw err;
}
Expand Down

0 comments on commit ac215a2

Please sign in to comment.