mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-22 18:35:21 -06:00
29475988da
* fix(cron): keep valid command env vars when a sibling value is non-string (#105433) normalizeTrimmedStringRecord returned undefined whenever any env value was non-string, so payload normalization deleted the entire env map before gateway schema validation, silently dropping valid siblings (e.g. env {DEBUG:true, PATH:'/bin'} lost PATH). It now filters invalid entries and only normalizes the map away when no valid entries remain, matching the sibling normalizeTrimmedStringArray behavior in the same file. * fix(cron): reject malformed command env maps Co-authored-by: MoerAI <friendnt@g.skku.edu> --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>