scripts/build.py aktualisiert
This commit is contained in:
1 parent
7fcf3cf0f1
commit
2bbf6f2ecb
1 file changed
+7
@@ -38,6 +38,13 @@ def input_files(repo):
|
|||||||
d = repo / 'data'
|
d = repo / 'data'
|
||||||
if not d.exists():
|
if not d.exists():
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# Nur tatsächliche CVE-Datensätze einlesen
|
||||||
|
if repo.name == 'vuln-cve':
|
||||||
|
yield from sorted(d.rglob('CVE-*.json'))
|
||||||
|
return
|
||||||
|
|
||||||
|
# Andere Quellen unverändert verarbeiten
|
||||||
yield from sorted(d.rglob('*.json'))
|
yield from sorted(d.rglob('*.json'))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user