From 646342d500c4fef70ce51e814c9df28c25b18a8c Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 26 Oct 2023 08:46:14 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- packages/compiler-sfc/src/script/utils.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/compiler-sfc/src/script/utils.ts b/packages/compiler-sfc/src/script/utils.ts index 4d849dd9ebf..0891c5eb5e3 100644 --- a/packages/compiler-sfc/src/script/utils.ts +++ b/packages/compiler-sfc/src/script/utils.ts @@ -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