Skip to content

Commit 110c2ca

Browse files
committed
Fix buggy list manipulation
Signed-off-by: Haiko Schol <hs@haikoschol.com>
1 parent a546d42 commit 110c2ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vulnerabilities/scraper/npm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def scrape_vulnerabilities():
120120
while nextpage:
121121
cururl = NPM_URL.format(nextpage)
122122
response = json.load(urlopen(cururl))
123-
package_vulnerabilities = package_vulnerabilities.extend(extract_data(response))
123+
package_vulnerabilities.extend(extract_data(response))
124124
next_page = response.get('urls', {}).get('next')
125125

126126
return package_vulnerabilities

0 commit comments

Comments
 (0)