summaryrefslogtreecommitdiff
path: root/std/node/_fs/_fs_mkdir.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /std/node/_fs/_fs_mkdir.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/node/_fs/_fs_mkdir.ts')
-rw-r--r--std/node/_fs/_fs_mkdir.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/node/_fs/_fs_mkdir.ts b/std/node/_fs/_fs_mkdir.ts
index 8578f4653..63aabd010 100644
--- a/std/node/_fs/_fs_mkdir.ts
+++ b/std/node/_fs/_fs_mkdir.ts
@@ -14,7 +14,7 @@ type MkdirOptions =
export function mkdir(
path: string | URL,
options?: MkdirOptions | CallbackWithError,
- callback?: CallbackWithError
+ callback?: CallbackWithError,
): void {
path = path instanceof URL ? fromFileUrl(path) : path;
@@ -33,7 +33,7 @@ export function mkdir(
}
if (typeof recursive !== "boolean") {
throw new Deno.errors.InvalidData(
- "invalid recursive option , must be a boolean"
+ "invalid recursive option , must be a boolean",
);
}
Deno.mkdir(path, { recursive, mode })
@@ -64,7 +64,7 @@ export function mkdirSync(path: string | URL, options?: MkdirOptions): void {
}
if (typeof recursive !== "boolean") {
throw new Deno.errors.InvalidData(
- "invalid recursive option , must be a boolean"
+ "invalid recursive option , must be a boolean",
);
}