From d2771a8e765221dd94033b576df037152962dea2 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders Date: Fri, 27 Oct 2017 14:34:40 -0700 Subject: [PATCH] Improve regex for tsconfig test --- src/harness/loggedIO.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/harness/loggedIO.ts b/src/harness/loggedIO.ts index ff23458d284..888ee2fe2e1 100644 --- a/src/harness/loggedIO.ts +++ b/src/harness/loggedIO.ts @@ -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 = [];