We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 973caca commit a231eefCopy full SHA for a231eef
src/index.js
@@ -119,9 +119,15 @@ async function main(args) {
119
)
120
}
121
} else {
122
- coverageFilePaths[0] = validateHelpers.validateFileNamePath(args.file)
123
- ? args.file
124
- : ''
+ if (typeof(args.file) === 'object') {
+ for (const file of args.file) {
+ coverageFilePaths.push(validateHelpers.validateFileNamePath(file) ? file : '')
125
+ }
126
+ } else {
127
+ coverageFilePaths[0] = validateHelpers.validateFileNamePath(args.file)
128
+ ? args.file
129
+ : ''
130
131
if (coverageFilePaths.length === 0) {
132
throw new Error('Not coverage file found, exiting.')
133
0 commit comments