mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Less chatty.
This commit is contained in:
parent
f5d861db67
commit
658eba8ee9
1 changed files with 2 additions and 2 deletions
|
@ -28,12 +28,12 @@ sealed class IFileSpec {
|
|||
private fun isIncluded(includeMatchers: Glob, excludes: List<Glob>, rel: Path) : Boolean {
|
||||
excludes.forEach {
|
||||
if (it.matches(rel)) {
|
||||
log(2, "Excluding ${rel.toFile()}")
|
||||
log(3, "Excluding ${rel.toFile()}")
|
||||
return false
|
||||
}
|
||||
}
|
||||
if (includeMatchers.matches(rel)) {
|
||||
log(2, "Including ${rel.toFile().path}")
|
||||
log(3, "Including ${rel.toFile().path}")
|
||||
return true
|
||||
}
|
||||
log(2, "Excluding ${rel.toFile()} (not matching any include pattern")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue