diff options
Diffstat (limited to 'testing/runner.ts')
-rwxr-xr-x | testing/runner.ts | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/testing/runner.ts b/testing/runner.ts index e0a06fee1..414fb1f56 100755 --- a/testing/runner.ts +++ b/testing/runner.ts @@ -85,13 +85,11 @@ export async function getMatchingUrls( ); const matchingRemoteUrls = includeRemote.filter( (candidateUrl: string): boolean => { - return !excludeRemotePatterns.some( - (pattern: RegExp): boolean => { - const r = pattern.test(candidateUrl); - pattern.lastIndex = 0; - return r; - } - ); + return !excludeRemotePatterns.some((pattern: RegExp): boolean => { + const r = pattern.test(candidateUrl); + pattern.lastIndex = 0; + return r; + }); } ); @@ -135,11 +133,9 @@ export async function main(root: string = cwd()): Promise<void> { if (parsedArgs._.length) { includeFiles = (parsedArgs._ as string[]) - .map( - (fileGlob: string): string[] => { - return fileGlob.split(","); - } - ) + .map((fileGlob: string): string[] => { + return fileGlob.split(","); + }) .flat(); } else { includeFiles = DEFAULT_GLOBS; |