Skip to content

Commit 56f1267

Browse files
fix(language-core): remove the non-strict configFileName default value (#5606)
1 parent c211f3e commit 56f1267

File tree

1 file changed

+1
-1
lines changed
  • packages/language-core/lib/utils

1 file changed

+1
-1
lines changed

packages/language-core/lib/utils/ts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function createParsedCommandLineByJson(
1717
},
1818
rootDir: string,
1919
json: any,
20-
configFileName = rootDir + '/jsconfig.json',
20+
configFileName?: string,
2121
): ParsedCommandLine {
2222
const proxyHost = proxyParseConfigHostForExtendConfigPaths(parseConfigHost);
2323
ts.parseJsonConfigFileContent(json, proxyHost.host, rootDir, {}, configFileName);

0 commit comments

Comments
 (0)