Commit 795ce62
committed
fix: add optional chaining on msg for templateMessage field
Matches the null-safety style of the surrounding fields in
getTypeMessage() — msg could theoretically be undefined/null.
Addresses sourcery-ai review comment on #2666.1 parent 2392dcb commit 795ce62
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1778 | 1778 | | |
1779 | 1779 | | |
1780 | 1780 | | |
1781 | | - | |
| 1781 | + | |
1782 | 1782 | | |
1783 | 1783 | | |
1784 | 1784 | | |
| |||
0 commit comments