Commit c1e289d
Ilianna Papastefanou
fix: iac test result undefined
snyk iac test scan would fail when trying to access snykIacTestScanResult?.scanAnalytics.supressedResults, in the case of snykIacTestScanResult being undefined.
This is because the whole snykIacTestScanResult?.scanAnalytics would evaluate to undefine and suppressedResults would fail to read an undefined value.
Added a "?" operator to scanAnalytics to fix this error.1 parent 51450a5 commit c1e289d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments