diff --git a/core/com/github/doomsdayrs/api/shosetsu/services/core/dep/LuaFormatter.kt b/core/com/github/doomsdayrs/api/shosetsu/services/core/dep/LuaFormatter.kt index a6334b9..75c6473 100644 --- a/core/com/github/doomsdayrs/api/shosetsu/services/core/dep/LuaFormatter.kt +++ b/core/com/github/doomsdayrs/api/shosetsu/services/core/dep/LuaFormatter.kt @@ -78,8 +78,8 @@ class LuaFormatter(val file: File) : Formatter { fun getScriptFromSystem(path: String): LuaValue { val script: Globals = JsePlatform.standardGlobals() script.load(ShosetsuLib()) - script.STDOUT = System.out script["dofile"].call(LuaValue.valueOf(path)) + script.STDOUT = System.out return script } diff --git a/pom.xml b/pom.xml index 1e35dfd..7375d6e 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.github.doomsdayrs.api shosetsu-services - 0.4.1 + 0.4.2 1.3.61