aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runners/ant/src/main/kotlin/ant/dokka.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/ant/src/main/kotlin/ant/dokka.kt b/runners/ant/src/main/kotlin/ant/dokka.kt
index fe793396..a54d1351 100644
--- a/runners/ant/src/main/kotlin/ant/dokka.kt
+++ b/runners/ant/src/main/kotlin/ant/dokka.kt
@@ -172,7 +172,7 @@ class DokkaAntTask: Task(), DokkaConfiguration {
if (sourceLink.path == null) {
throw BuildException("'path' attribute of a <sourceLink> element is required")
}
- if (sourceLink.path.contains("\\")) {
+ if (sourceLink.path!!.contains("\\")) {
throw BuildException("'dir' attribute of a <sourceLink> - incorrect value, only Unix based path allowed")
}