Commit a63ae00
committed
OutputHTML: Prioritize
The `--license-references` cli argument enables collection and storge
of license reference data in output files. So as long as it was present
during the scan and any subsequent conversion the `license_references`
should not be empty.
In such cases, the license reference table shall be filled with the
already stored data.
Only if the `license_references` list is empty, should the licenses
be collected from the `license_db` as a fall back.
Signed-off-by: Jens Keim <jens.keim@forvia.com>license_references from scan data1 parent 9663c50 commit a63ae00
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
253 | 254 | | |
254 | 255 | | |
255 | 256 | | |
| |||
0 commit comments