We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00a373a commit c850919Copy full SHA for c850919
1 file changed
src/compiler/tsc.ts
@@ -190,7 +190,7 @@ namespace ts {
190
configFileName = combinePaths(fileOrDirectory, "tsconfig.json");
191
}
192
else {
193
- if (!/^tsconfig(?:-.*)?.json$/.test(getBaseFileName(fileOrDirectory))) {
+ if (!/^tsconfig(?:-.*)?\.json$/.test(getBaseFileName(fileOrDirectory))) {
194
reportDiagnostic(createCompilerDiagnostic(Diagnostics.The_project_file_name_is_not_in_tsconfig_Asterisk_json_format_Colon_0, commandLine.options.project));
195
return sys.exit(ExitStatus.DiagnosticsPresent_OutputsSkipped);
196
0 commit comments