mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Improve regex for tsconfig test
This commit is contained in:
parent
3ac91d109b
commit
d2771a8e76
@ -262,7 +262,7 @@ namespace Playback {
|
||||
};
|
||||
|
||||
function generateTsconfig(newLog: IOLog): undefined | { compilerOptions: ts.CompilerOptions, files: string[] } {
|
||||
if (newLog.filesRead.some(file => /tsconfig.json$/.test(file.path))) {
|
||||
if (newLog.filesRead.some(file => /tsconfig.+json$/.test(file.path))) {
|
||||
return;
|
||||
}
|
||||
const files = [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user