From 7d666cb6c7e932d8de62b47c023329cbd349a723 Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Mon, 22 Feb 2021 20:11:42 +0300 Subject: [PATCH] Add features mnemonic to root project readme --- src/main/kotlin/ru/mipt/npm/gradle/KScienceReadmeExtension.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/mipt/npm/gradle/KScienceReadmeExtension.kt b/src/main/kotlin/ru/mipt/npm/gradle/KScienceReadmeExtension.kt index cf8c027..5977e9a 100644 --- a/src/main/kotlin/ru/mipt/npm/gradle/KScienceReadmeExtension.kt +++ b/src/main/kotlin/ru/mipt/npm/gradle/KScienceReadmeExtension.kt @@ -79,7 +79,7 @@ class KScienceReadmeExtension(val project: Project) { */ fun featuresString(itemPrefix: String = " - ", pathPrefix: String = "") = buildString { features.forEach { - appendln("$itemPrefix[${it.name}]($pathPrefix${it.ref ?: "#"}) : ${it.description}") + appendLine("$itemPrefix[${it.name}]($pathPrefix${it.ref ?: "#"}) : ${it.description}") } }