From 0bed4d3e5153aaf2e06fb6579ac6f24acf63567f Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Sat, 9 Mar 2024 09:07:29 +0530 Subject: fix(ext/node): support junction symlinks on Windows (#22762) Fixes https://github.com/denoland/deno/issues/20609 Vitepress support! `vitepress dev` and `vitepress build` via BYONM --- ext/node/polyfills/_fs/_fs_symlink.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/node/polyfills/_fs') diff --git a/ext/node/polyfills/_fs/_fs_symlink.ts b/ext/node/polyfills/_fs/_fs_symlink.ts index 5cb121755..350263423 100644 --- a/ext/node/polyfills/_fs/_fs_symlink.ts +++ b/ext/node/polyfills/_fs/_fs_symlink.ts @@ -7,7 +7,7 @@ import { CallbackWithError } from "ext:deno_node/_fs/_fs_common.ts"; import { pathFromURL } from "ext:deno_web/00_infra.js"; import { promisify } from "ext:deno_node/internal/util.mjs"; -type SymlinkType = "file" | "dir"; +type SymlinkType = "file" | "dir" | "junction"; export function symlink( target: string | URL, -- cgit v1.2.3