Skip to content

Commit d908779

Browse files
committed
format
1 parent 2660dbd commit d908779

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/svelte-check/src/incremental.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -905,9 +905,7 @@ function rebasePathsConfig(
905905
const result: string[] = [];
906906
for (const spec of specs) {
907907
// ${configDir} placeholder should already be resolved here
908-
const absoluteSpec = path.isAbsolute(spec)
909-
? spec
910-
: path.resolve(pathsBaseDir, spec);
908+
const absoluteSpec = path.isAbsolute(spec) ? spec : path.resolve(pathsBaseDir, spec);
911909
const rebasedSpec = toRelativePosix(overlayDir, absoluteSpec);
912910
result.push(rebasedSpec);
913911
let posixSpec = toPosixPath(spec);

0 commit comments

Comments
 (0)