We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abc2301 commit 00130f1Copy full SHA for 00130f1
1 file changed
src/compiler/tsc.ts
@@ -346,6 +346,12 @@ namespace ts {
346
return;
347
}
348
349
+ if (!cachedConfigFileText) {
350
+ const error = createCompilerDiagnostic(Diagnostics.File_0_not_found, configFileName);
351
+ reportDiagnostics([error], /* compilerHost */ undefined);
352
+ sys.exit(ExitStatus.DiagnosticsPresent_OutputsSkipped);
353
+ return;
354
+ }
355
356
const result = parseConfigFileTextToJson(configFileName, cachedConfigFileText);
357
const configObject = result.config;
0 commit comments