From 27ff4c4b329608941629a873cf25bd05d883e2e7 Mon Sep 17 00:00:00 2001 From: zongz Date: Wed, 13 Nov 2024 16:37:28 +0800 Subject: [PATCH] fix: add debug info Signed-off-by: zongz --- pkg/client/run.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/client/run.go b/pkg/client/run.go index e927770c..93ee2836 100644 --- a/pkg/client/run.go +++ b/pkg/client/run.go @@ -506,6 +506,8 @@ func (o *RunOptions) applyCompileOptions(source downloader.Source, kclPkg *pkg.K // Iterate all the kcl files and transform the '-' in mod relative path to '_' for i, kfile := range o.KFilenameList { + fmt.Printf("kfile: %v\n", kfile) + fmt.Printf("utils.IsModRelativePath(kfile): %v\n", utils.IsModRelativePath(kfile)) if utils.IsModRelativePath(kfile) { modName, entriesPath, err := utils.ParseModRelativePath(kfile) if err != nil {