This is an automated email from the ASF dual-hosted git repository.
linkinstar pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/answer.git
The following commit(s) were added to refs/heads/dev by this push:
new fbd5a55c fix: failed to build plugins in windows
fbd5a55c is described below
commit fbd5a55c5d82fbfd498aa93a71092ef4c7e4294f
Author: hgaol <[email protected]>
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)