diff --git a/src/configuration.ts b/src/configuration.ts index 0ea02f3ec..4ab0a7ccf 100644 --- a/src/configuration.ts +++ b/src/configuration.ts @@ -172,7 +172,7 @@ export function readConfig( const nested = join(resolved, 'tsconfig.json'); configFilePath = fileExists(nested) ? nested : resolved; } else { - ts.findConfigFile(projectSearchDir, fileExists); + configFilePath = ts.findConfigFile(projectSearchDir, fileExists); } if (configFilePath) {