Commit ea71be4
committed
feat(OutputHTML): Implement fallback for license references table
The `--license-references` cli argument enables collection and storge
of license reference data in output files. So as long as it was present
as a Post-Scan option the `license_references` should not be empty.
In such cases, the license reference table shall be filled with the
already stored data.
If however the `license_references` list is empty, the licenses should
be collected from the `license_db` as a fall back, similar to the legacy
license collection pre 49e7d89.
Fixes #4101.
Signed-off-by: Jens Keim <jens.keim@forvia.com>1 parent 9c43698 commit ea71be4
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
191 | 194 | | |
192 | 195 | | |
193 | 196 | | |
| 197 | + | |
194 | 198 | | |
195 | 199 | | |
196 | 200 | | |
| |||
223 | 227 | | |
224 | 228 | | |
225 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
226 | 235 | | |
227 | 236 | | |
228 | 237 | | |
| |||
239 | 248 | | |
240 | 249 | | |
241 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
242 | 255 | | |
243 | 256 | | |
244 | 257 | | |
| |||
0 commit comments