aboutsummaryrefslogtreecommitdiffhomepage
path: root/source/sourceSpec.go
diff options
context:
space:
mode:
Diffstat (limited to 'source/sourceSpec.go')
-rw-r--r--source/sourceSpec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sourceSpec.go b/source/sourceSpec.go
index 3640c83d5..46a55bf64 100644
--- a/source/sourceSpec.go
+++ b/source/sourceSpec.go
@@ -74,7 +74,7 @@ func NewSourceSpec(ps *helpers.PathSpec, inclusionFilter *glob.FilenameFilter, f
}
}
shouldInclude := func(filename string) bool {
- if !inclusionFilter.Match(filename) {
+ if !inclusionFilter.Match(filename, false) {
return false
}
for _, r := range regexps {