Skip to content

Commit

Permalink
Merge pull request #306 from codecov/fix/no-coverage-files
Browse files Browse the repository at this point in the history
Remove filename validation
  • Loading branch information
mitchell-codecov authored Aug 16, 2021
2 parents fd5be1a + 1b4c061 commit 75a4365
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 75a4365

Please sign in to comment.