Skip to content

Commit

Permalink
Respect extensions when filtering individual files
Browse files Browse the repository at this point in the history
  • Loading branch information
robcmills authored and Daniel15 committed Jul 18, 2023
1 parent ba0e04f commit c2ba556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runner.js
Expand Up @@ -148,7 +148,7 @@ function getAllFiles(paths, filter) {
file,
list => resolve(list.filter(filter))
);
} else if (ignores.shouldIgnore(file)) {
} else if (!filter(file) || ignores.shouldIgnore(file)) {
// ignoring the file
resolve([]);
} else {
Expand Down

0 comments on commit c2ba556

Please sign in to comment.