Skip to content

Commit

Permalink
chore: add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
drazisil-codecov committed Nov 17, 2021
1 parent 4d75a02 commit 1bba9e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1bba9e8

Please sign in to comment.