This is an automated email from the ASF dual-hosted git repository. shuai pushed a commit to branch test in repository https://gitbox.apache.org/repos/asf/answer.git
commit af80380f230d2633ec8e62ca11c820430e898d31 Author: hgaol <dhan...@hotmail.com> AuthorDate: Wed Aug 6 00:17:00 2025 +0800 fix: failed to build plugins in windows --- internal/cli/build.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/cli/build.go b/internal/cli/build.go index 43a7aa9f..a5a4d938 100644 --- a/internal/cli/build.go +++ b/internal/cli/build.go @@ -484,6 +484,7 @@ func copyDirEntries(sourceFs fs.FS, sourceDir, targetDir string, ignoreDir ...st // Construct the absolute path for the source file/directory srcPath := filepath.Join(sourceDir, path) + srcPath = filepath.ToSlash(srcPath) // Construct the absolute path for the destination file/directory dstPath := filepath.Join(targetDir, path)