diff --git a/src/index.ts b/src/index.ts index 8f9e94aff..1d44ef66b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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) {