Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-codecov authored Aug 16, 2021
1 parent fd5be1a commit 1b4c061
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ export async function main(

// Remove invalid and duplicate file paths
coverageFilePaths = [... new Set(coverageFilePaths.filter(file => {
return validateHelpers.validateFileNamePath(file) &&
fileExists(args.dir || projectRoot, file)
return fileExists(args.dir || projectRoot, file)
}))]

if (coverageFilePaths.length > 0) {
Expand Down

0 comments on commit 1b4c061

Please sign in to comment.