From 0761d5047af236ce325449e1dba9467bafbc8e79 Mon Sep 17 00:00:00 2001 From: reidspencer Date: Mon, 2 Dec 2024 11:49:19 -0500 Subject: [PATCH] Add an "end if" to clearly mark logic boundary. --- .../shared/src/main/scala/com/ossuminc/riddl/utils/Logging.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/shared/src/main/scala/com/ossuminc/riddl/utils/Logging.scala b/utils/shared/src/main/scala/com/ossuminc/riddl/utils/Logging.scala index a19ffef30..b974e1458 100644 --- a/utils/shared/src/main/scala/com/ossuminc/riddl/utils/Logging.scala +++ b/utils/shared/src/main/scala/com/ossuminc/riddl/utils/Logging.scala @@ -76,6 +76,7 @@ trait Logger(using pc: PlatformContext) { val tail = lines.tail.mkString(nl) if tail.nonEmpty then head + s"$nl$prefix$tail$RESET" else head + end if } protected def write(level: Lvl, @unused s: String): Unit