From 1bba9e81e80a6af392524d25fa3930638405d3af Mon Sep 17 00:00:00 2001 From: Joe Becher Date: Wed, 17 Nov 2021 13:40:02 -0500 Subject: [PATCH] chore: add return type --- src/helpers/files.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/files.ts b/src/helpers/files.ts index 25c7df877..82c63e486 100644 --- a/src/helpers/files.ts +++ b/src/helpers/files.ts @@ -337,7 +337,7 @@ export function getBlocklist(): string[] { return [...manualBlocklist(), ...globBlocklist()] } -export function cleanCoverageFilePaths(projectRoot: string, paths: string[], ignoreGlobs: string[]) { +export function cleanCoverageFilePaths(projectRoot: string, paths: string[], ignoreGlobs: string[]): string[] { UploadLogger.verbose(`Preparing to clean the following coverage paths: ${paths.toString()}`) const coverageFilePaths = [... new Set(paths.filter(file => { return fileExists(projectRoot, file)