Skip to content

Commit 5cb47e6

Browse files
authoredNov 16, 2021
fix: check for supportedExtenions after filtering ignored files (#143)
Co-authored-by: Ullas Holla <ullas.holla@sap.com>
1 parent f11faa9 commit 5cb47e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ export default (
4444

4545
const changedFiles = scm
4646
.getChangedFiles(directory, revision, staged)
47-
.filter(isSupportedExtension(resolveConfig))
4847
.filter(createMatcher(pattern))
4948
.filter(rootIgnorer)
50-
.filter(cwdIgnorer);
49+
.filter(cwdIgnorer)
50+
.filter(isSupportedExtension(resolveConfig));
5151

5252
const unstagedFiles = staged
5353
? scm

0 commit comments

Comments
 (0)
Please sign in to comment.