Skip to content

Commit

Permalink
Fix findFileConfig() issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yanthomasdev committed Nov 12, 2024
1 parent ae1b8a7 commit f00ede3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class Lunaria {
// There's a few cases in which the pattern might match, but the include/exclude filters don't,
// therefore we need to test both to find the correct `files` config.
return (
isSourcePath(path) &&
isSourcePath(sourcePath) &&
picomatch.isMatch(sourcePath, file.include, {
ignore: file.exclude,
})
Expand Down

0 comments on commit f00ede3

Please sign in to comment.