From 62f09aade8346d647ab2624720d8940424fa9d52 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Sat, 20 Feb 2016 02:09:31 +0400 Subject: [PATCH] Better error message. --- .../src/main/kotlin/com/beust/kobalt/FileSpec.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1a7619b8..dbd37cb6 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 @@ -60,7 +60,7 @@ sealed class IFileSpec { } }) } else { - throw AssertionError("$rootDir should exist") + throw AssertionError("Directory \"$rootDir\" should exist") } } else { if (isIncluded(includes, excludes, Paths.get(filePath))) {