Commit 5b35cc5
authored
Remove unecessary TypeError on build
The following error occurs when running tcm:
[Error] TypeError: Cannot read property 'forEach' of undefined
After some debugging, it became clear that this is caused by a missing if statement checking if the messageList exists or not.
If the error is there due to some reason unknown to me, please elaborate :)1 parent 2d426d7 commit 5b35cc5
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
0 commit comments