From: Lanius Trolling Date: Tue, 12 Dec 2023 15:11:02 +0000 (-0500) Subject: FVCK X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=83034ac958fdca190953fcfc46f99b08ae90c3dd;p=factbooks FVCK --- diff --git a/src/main/kotlin/info/mechyrdia/lore/article_listing.kt b/src/main/kotlin/info/mechyrdia/lore/article_listing.kt index 416da53..bfb7585 100644 --- a/src/main/kotlin/info/mechyrdia/lore/article_listing.kt +++ b/src/main/kotlin/info/mechyrdia/lore/article_listing.kt @@ -23,7 +23,7 @@ fun File.toArticleNode(): ArticleNode = ArticleNode( ) fun List.renderInto(list: UL, base: String? = null) { - val prefix = lazy(LazyThreadSafetyMode.NONE) { base?.let { "$it/" } ?: "" } + val prefix by lazy(LazyThreadSafetyMode.NONE) { base?.let { "$it/" } ?: "" } for (node in this) { if (Configuration.CurrentConfiguration.isDevMode || !(node.name.endsWith(".wip") || node.name.endsWith(".old"))) list.li {