From a0729bbde08d67a57ed2e9ddd597f959a86d4023 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 31 Jul 2024 11:20:04 +0800 Subject: [PATCH] feat: Improve tsconfig.json import handling in runtime.Start function --- runtime/runtime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/runtime.go b/runtime/runtime.go index eb320ca8..d6013b9f 100644 --- a/runtime/runtime.go +++ b/runtime/runtime.go @@ -27,7 +27,7 @@ func Start(cfg config.Config) error { } // Read the tsconfig.json - if cfg.Runtime.Import { + if cfg.Runtime.Import && application.App != nil { if exist, _ := application.App.Exists("tsconfig.json"); exist { var tsconfig v8.TSConfig raw, err := application.App.Read("tsconfig.json")