mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
Remove redundant call to ensureDirSync
(#6189)
There's a seemingly redundant call to `ensureDirSync` right after a call to `await ensureDir`. This removes the offending call.
This commit is contained in:
parent
bad6f2b224
commit
15cfe9e6e5
1 changed files with 0 additions and 1 deletions
|
@ -28,7 +28,6 @@ export async function ensureSymlink(src: string, dest: string): Promise<void> {
|
|||
|
||||
await ensureDir(path.dirname(dest));
|
||||
|
||||
ensureDirSync(path.dirname(dest));
|
||||
if (Deno.build.os === "windows") {
|
||||
await Deno.symlink(src, dest, {
|
||||
type: srcFilePathType === "dir" ? "dir" : "file",
|
||||
|
|
Loading…
Add table
Reference in a new issue