From fbd52375738975c1432bdd486afd4daba6b7a088 Mon Sep 17 00:00:00 2001 From: Leonid Pereverzin Date: Sun, 7 May 2023 18:06:12 +0300 Subject: [PATCH] better naming --- snark-document-builder/src/main/kotlin/DocumentBuilder.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snark-document-builder/src/main/kotlin/DocumentBuilder.kt b/snark-document-builder/src/main/kotlin/DocumentBuilder.kt index 9f7279b..a65eeaa 100644 --- a/snark-document-builder/src/main/kotlin/DocumentBuilder.kt +++ b/snark-document-builder/src/main/kotlin/DocumentBuilder.kt @@ -13,9 +13,9 @@ private val DEFAULT_DOCUMENT_ROOT = "main.md" public suspend fun buildDocument(documentDirectory: Directory): String { val dependencyGraph = buildDependencyGraph(documentDirectory) - val roooot: MdAstRoot = dependencyGraph.nodes[""]!!.mdAst + val root: MdAstRoot = dependencyGraph.nodes[""]!!.mdAst - return jacksonObjectMapper().writeValueAsString(roooot) + return jacksonObjectMapper().writeValueAsString(root) // TODO прикрутить html }