diff options
| author | Ross Weir <29697678+ross-weir@users.noreply.github.com> | 2020-10-27 23:21:32 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-27 13:21:32 +0100 |
| commit | 60cd7695ef2c3769aeaf9391a2dddc6c31a9e2f5 (patch) | |
| tree | 4ce9403c9e257b676de2e2a84e3cf33c5a737b27 /cli/rt | |
| parent | 5af1dcfe292eb5f8cb60e72cf8f532596739b7fc (diff) | |
fix(cli): handle URL paths in Deno.mkdir() (#8140)
Diffstat (limited to 'cli/rt')
| -rw-r--r-- | cli/rt/30_fs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/rt/30_fs.js b/cli/rt/30_fs.js index 7faa2c392..7c7d81c3b 100644 --- a/cli/rt/30_fs.js +++ b/cli/rt/30_fs.js @@ -77,7 +77,7 @@ } function mkdirArgs(path, options) { - const args = { path, recursive: false }; + const args = { path: pathFromURL(path), recursive: false }; if (options != null) { if (typeof options.recursive == "boolean") { args.recursive = options.recursive; |
