remove duplicate urls

This commit is contained in:
2022-11-12 13:21:28 +02:00
parent 2c40b78cce
commit d4ce4252f6

View File

@@ -7,7 +7,7 @@ def npm_create_package_lock_file(package):
def get_all_urls_packages():
return findall("https://.+.tgz", open("package-lock.json", "rt").read())
return list(dict.fromkeys(findall("https://.+.tgz", open("package-lock.json", "rt").read())))