style(weixin): format WarnCF call for golines

This commit is contained in:
Alix-007 2026-03-26 02:30:15 +08:00
parent e0265088b7
commit c556b1bb98

View file

@ -75,10 +75,14 @@ func picoclawHomeDir() string {
if probeErr := probeSyncDirWritable(home); probeErr == nil { if probeErr := probeSyncDirWritable(home); probeErr == nil {
return home return home
} else { } else {
logger.WarnCF("weixin", "Default picoclaw home is not writable; using temp directory for sync cursor", map[string]any{ logger.WarnCF(
"path": home, "weixin",
"error": probeErr.Error(), "Default picoclaw home is not writable; using temp directory for sync cursor",
}) map[string]any{
"path": home,
"error": probeErr.Error(),
},
)
} }
} }