diff options
author | Ry Dahl <ry@tinyclouds.org> | 2020-01-07 14:14:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-07 14:14:33 -0500 |
commit | d4bf0670ce02a7561f224085bef6827132335cd5 (patch) | |
tree | b9b102775fc31e9c867ce4810efc63a9f9518748 /std/io/util.ts | |
parent | ad9fd589d4131e847721323a730ba91161f1b95b (diff) |
fix: Deno.mkdir should conform to style guide (#3617)
Diffstat (limited to 'std/io/util.ts')
-rw-r--r-- | std/io/util.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/io/util.ts b/std/io/util.ts index 1226640bd..4bcf7d2e9 100644 --- a/std/io/util.ts +++ b/std/io/util.ts @@ -40,7 +40,7 @@ export async function tempFile( const filepath = path.resolve( `${dir}/${opts.prefix || ""}${r}${opts.postfix || ""}` ); - await mkdir(path.dirname(filepath), true); + await mkdir(path.dirname(filepath), { recursive: true }); const file = await open(filepath, "a"); return { file, filepath }; } |