Skip to content

Commit d0d9136

Browse files
sushruthCopilot
andcommitted
[copilot] use ts util to get the actual tsconfig name for project reference
Co-authored-by: Copilot <[email protected]>
1 parent 9baa753 commit d0d9136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/legacy/config/config-set.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ export class ConfigSet {
627627
const filePath = ts.resolveProjectReferencePath(ref)
628628

629629
if (ts.sys.fileExists(filePath)) {
630-
const newTsconfigFileName = this._findReferenceTsconfig(ref.path)
630+
const newTsconfigFileName = this._findReferenceTsconfig(ts.resolveProjectReferencePath(ref))
631631
if (newTsconfigFileName) return newTsconfigFileName
632632
}
633633
}

0 commit comments

Comments
 (0)