chore: typo (#8108) [ci skip]

This commit is contained in:
agoni1212 2023-04-20 10:07:31 +08:00 committed by GitHub
parent 94fa67a4f7
commit a58785945d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ export function createGetCanonicalFileName(useCaseSensitiveFileNames: boolean) {
const windowsSlashRE = /\\/g
export function normalizePath(p: string) {
// in the browser build, the polyfill doesn't expose posix, but defualts to
// in the browser build, the polyfill doesn't expose posix, but defaults to
// posix behavior.
return (path.posix || path).normalize(p.replace(windowsSlashRE, '/'))
}