From f6a8bef8fd23b69b768645de937d12244ea47091 Mon Sep 17 00:00:00 2001 From: Stephen Randall Date: Fri, 21 Apr 2023 23:29:50 -0400 Subject: [PATCH] Optional status match in Windows network drive check --- packages/vite/src/node/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vite/src/node/utils.ts b/packages/vite/src/node/utils.ts index 14a016f94311ec..0d9411f901ff53 100644 --- a/packages/vite/src/node/utils.ts +++ b/packages/vite/src/node/utils.ts @@ -574,7 +574,7 @@ function windowsMappedRealpathSync(path: string) { } return realPath } -const parseNetUseRE = /^(\w+) +(\w:) +([^ ]+)\s/ +const parseNetUseRE = /^(\w+)? +(\w:) +([^ ]+)\s/ let firstSafeRealPathSyncRun = false function windowsSafeRealPathSync(path: string): string {