Skip to content

Commit d2771a8

Browse files
committed
Improve regex for tsconfig test
1 parent 3ac91d1 commit d2771a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/harness/loggedIO.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ namespace Playback {
262262
};
263263

264264
function generateTsconfig(newLog: IOLog): undefined | { compilerOptions: ts.CompilerOptions, files: string[] } {
265-
if (newLog.filesRead.some(file => /tsconfig.json$/.test(file.path))) {
265+
if (newLog.filesRead.some(file => /tsconfig.+json$/.test(file.path))) {
266266
return;
267267
}
268268
const files = [];

0 commit comments

Comments
 (0)