From 8ccece97e01858eaef35acf01e94a9e0fe06160f Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Mon, 15 Feb 2016 13:14:32 -0800 Subject: [PATCH] Clean up. --- .../src/main/kotlin/com/beust/kobalt/FileSpec.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/FileSpec.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/FileSpec.kt index 0956eb03..480a8553 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/FileSpec.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/FileSpec.kt @@ -30,14 +30,14 @@ sealed class IFileSpec { } } if (includeMatchers.matches(rel)) { - log(2, "Including ${rel.toFile()}") + log(2, "Including ${rel.toFile().absolutePath}") return true } log(2, "Excluding ${rel.toFile()} (not matching any include pattern") return false } - override public fun toFiles(filePath: String, excludes: List): List { + override fun toFiles(filePath: String, excludes: List): List { val result = arrayListOf() val includes = Glob(*spec.toTypedArray()) @@ -60,7 +60,7 @@ sealed class IFileSpec { return result } - override public fun toString(): String { + override fun toString(): String { var result = "" spec.apply { if (!isEmpty()) {