Commit 943438b
fix: Indexing a nil value when no target launch settings are configured
When running a specific target there might not be a `target_settings`
config available. Previously the `target_settings` of that target
were always accessed assuming it was there.
Now each access is checked and an empty table is used as a fallback.1 parent 1d96327 commit 943438b
2 files changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
529 | 531 | | |
530 | 532 | | |
531 | 533 | | |
| |||
1573 | 1575 | | |
1574 | 1576 | | |
1575 | 1577 | | |
1576 | | - | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
1577 | 1581 | | |
1578 | 1582 | | |
1579 | 1583 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
272 | 283 | | |
0 commit comments