You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by li...@apache.org on 2025/08/06 02:29:36 UTC
(answer) branch dev updated: fix: failed to build plugins in windows
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 <dh...@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)