From c59e12434adf0c6c7b2d63562c2c486e02da4f0f Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 4 Apr 2025 18:26:35 +0800 Subject: [PATCH] feat: Add ConsoleMode configuration to runtime settings - Introduce ConsoleMode parameter in the Start function to allow configuration based on the provided runtime settings. - Enhance runtime initialization by incorporating the new ConsoleMode option from the configuration. --- runtime/runtime.go | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/runtime.go b/runtime/runtime.go index f092947a..3cec989c 100644 --- a/runtime/runtime.go +++ b/runtime/runtime.go @@ -30,6 +30,7 @@ func Start(cfg config.Config) error { ContextTimeout: cfg.Runtime.ContextTimeout, Import: cfg.Runtime.Import, Debug: debug, + ConsoleMode: cfg.Mode, } // Read the tsconfig.json