Skip to content

Commit

Permalink
fix: status optional in windows network drive regex (fix: #12948) (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlrandall committed Apr 22, 2023
1 parent 30fd101 commit f781fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/utils.ts
Expand Up @@ -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 {
Expand Down

0 comments on commit f781fc6

Please sign in to comment.