补充发行目录同步边界说明
Some checks are pending
Security Checks / security (push) Waiting to run

This commit is contained in:
smail 2026-09-22 03:52:51 +08:00
parent c233eb6f94
commit 03c5bfdd40

View File

@ -263,6 +263,7 @@ func syncDirectory(path string) error {
if runtime.GOOS == "windows" {
return nil
}
// #nosec G304 -- 该路径只来自发布流程创建并校验过的目录。
directory, err := os.Open(path)
if err != nil {
return err