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