Skip to content

Commit

Permalink
Fixed GlobFileFilter initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
shyiko committed Jul 21, 2017
1 parent df6576f commit 5510449
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ internal class GlobFileFilter(
val forceExactMatch: Boolean = false
) : FileFilter {

private val glob: Collection<Glob> = pattern.map { Glob(slash(baseDir), slash(it), includeChildren) }
private val glob: Collection<Glob> = pattern.map { Glob(slash(baseDir), slash(it),
includeChildren = includeChildren) }

/**
* @return true if at least one glob explicitly includes file (any matching file excluded by a previous pattern
Expand Down

0 comments on commit 5510449

Please sign in to comment.