Repository navigation
Commit 5f12487
committed
fix(opencode): validate diffs is array in SessionSummary.diff
The storage layer can return malformed data where diffs is not an array.
Added Array.isArray validation to return empty array instead of crashing
when calling .map() on non-array data.
Fixes anomalyco#192701 parent 7da7d7c commit 5f12487
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
0 commit comments