From 83034ac958fdca190953fcfc46f99b08ae90c3dd Mon Sep 17 00:00:00 2001 From: Lanius Trolling Date: Tue, 12 Dec 2023 10:11:02 -0500 Subject: [PATCH] FVCK --- src/main/kotlin/info/mechyrdia/lore/article_listing.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.25.1