mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
TS: Pass tsconfig options correctly
This commit is contained in:
@@ -253,7 +253,7 @@ function handleOpenProjectCommand(command: OpenProjectCommand) {
|
||||
fileExists: (path: string) => fs.existsSync(path),
|
||||
readFile: ts.sys.readFile,
|
||||
};
|
||||
let config = ts.parseJsonConfigFileContent(tsConfig, parseConfigHost, basePath);
|
||||
let config = ts.parseJsonConfigFileContent(tsConfig.config, parseConfigHost, basePath);
|
||||
let project = new Project(tsConfigFilename, config, state.typeTable);
|
||||
project.load();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user