Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 74ecf28

Browse files
authoredApr 1, 2025··
fix(vscode): catch one more undefined tsconfig case (#2459)
1 parent be05f23 commit 74ecf28

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎libs/vscode/typescript-plugin/src/lib/plugin-configuration.ts

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ async function getAdditionalRootFiles(
4545
if (!('compilerOptions' in tsconfig)) {
4646
tsconfig = (await readAndCacheJsonFile('tsconfig.json', workspaceRoot))
4747
.json;
48+
if (!tsconfig) {
49+
return [];
50+
}
4851
if (!('compilerOptions' in tsconfig)) {
4952
return [];
5053
}

0 commit comments

Comments
 (0)
Please sign in to comment.