Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Oct 26, 2023
1 parent 8de437f commit 646342d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/compiler-sfc/src/script/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ export function normalizePath(p: string) {
* On Windows "path.posix" is available but "path.posix.join()"
* returns malformed result when joining paths containing ".." like "../folderOrFile"
*/
export const joinPaths = (process.platform !== 'win32' && path.posix ? path.posix : path).join
export const joinPaths = (
process.platform !== 'win32' && path.posix ? path.posix : path
).join

/**
* key may contain symbols
Expand Down

0 comments on commit 646342d

Please sign in to comment.