From a3b1591cf3e43f726050c8693bba4e6b6cb2b4ab Mon Sep 17 00:00:00 2001 From: RitikShah Date: Sun, 18 Aug 2024 19:00:12 -0500 Subject: [PATCH] fix: runtime error --- src/main/kotlin/net/rx/modules/config/ConfigManager.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/net/rx/modules/config/ConfigManager.kt b/src/main/kotlin/net/rx/modules/config/ConfigManager.kt index d7f5527..1778dc6 100644 --- a/src/main/kotlin/net/rx/modules/config/ConfigManager.kt +++ b/src/main/kotlin/net/rx/modules/config/ConfigManager.kt @@ -8,6 +8,7 @@ import net.rx.modules.logger import java.io.File import java.nio.file.Files import java.nio.file.Path +import kotlin.io.path.pathString /** @@ -46,7 +47,7 @@ object ConfigManager { private fun initialize() { dirPath = server - .runDirectory.toAbsolutePath() + .runDirectory .resolve("config") .resolve("gitmod")