未验证 提交 ac215a24 编写于 作者: R Ryan Dahl 提交者: GitHub

Fix build - 2becae broke CI (#4686)

上级 2becae88
......@@ -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);
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册