Skip to content

Commit c850919

Browse files
committed
\. instead of .
1 parent 00a373a commit c850919

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/tsc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ namespace ts {
190190
configFileName = combinePaths(fileOrDirectory, "tsconfig.json");
191191
}
192192
else {
193-
if (!/^tsconfig(?:-.*)?.json$/.test(getBaseFileName(fileOrDirectory))) {
193+
if (!/^tsconfig(?:-.*)?\.json$/.test(getBaseFileName(fileOrDirectory))) {
194194
reportDiagnostic(createCompilerDiagnostic(Diagnostics.The_project_file_name_is_not_in_tsconfig_Asterisk_json_format_Colon_0, commandLine.options.project));
195195
return sys.exit(ExitStatus.DiagnosticsPresent_OutputsSkipped);
196196
}

0 commit comments

Comments
 (0)