Skip to content

Commit 1024d53

Browse files
[autofix.ci] apply automated fixes
1 parent 5246bdf commit 1024d53

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/compiler-sfc/src/script/resolveType.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,8 +1031,7 @@ function resolveWithTS(
10311031
} else {
10321032
const [major, minor] = ts.versionMajorMinor.split('.').map(Number)
10331033
function getPattern(base: string, p: string): string {
1034-
const supportsConfigDir =
1035-
major > 5 || (major === 5 && minor >= 5)
1034+
const supportsConfigDir = major > 5 || (major === 5 && minor >= 5)
10361035
return p.startsWith('${configDir}') && supportsConfigDir
10371036
? // ts 5.5+ supports ${configDir} in paths
10381037
normalizePath(p.replace('${configDir}', dirname(configPath!)))

0 commit comments

Comments
 (0)