Skip to content

Commit 9c98fba

Browse files
committed
Fix logic for returning target files
1 parent 027c570 commit 9c98fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function getTargetedExtracts(value) {
8181
.filter(v => typeof v.file === 'string' && v.file.match(reExtractFile))
8282
.map(v => v.file);
8383
}
84-
else if (typeof value === 'string') {
84+
else if (typeof value === 'string' && value.match(reExtractFile)) {
8585
return [value];
8686
}
8787
else {

0 commit comments

Comments
 (0)