1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 16:28:12 -07:00

Better message.

This commit is contained in:
Cedric Beust 2016-01-01 10:19:11 -08:00
parent ac533fb382
commit 94364cbe07

View file

@ -32,13 +32,13 @@ sealed class IFileSpec {
val rel = Paths.get(directory).relativize(path) val rel = Paths.get(directory).relativize(path)
excludeMatchers.forEach { excludeMatchers.forEach {
if (it.matches(rel)) { if (it.matches(rel)) {
log(3, "Removing ${rel.toFile()}") log(3, "Excluding ${rel.toFile()}")
return CONTINUE return CONTINUE
} }
} }
includeMatchers.forEach { includeMatchers.forEach {
if (it.matches(rel)) { if (it.matches(rel)) {
log(3, "Adding ${rel.toFile()}") log(3, "Including ${rel.toFile()}")
result.add(rel.toFile()) result.add(rel.toFile())
return CONTINUE return CONTINUE
} }