Browse Source

Show one duplicate link per line

pull/3011/head
Matheus Felipe 2 years ago
parent
commit
b62683f96e
No known key found for this signature in database GPG Key ID: AA785C523274872F
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      scripts/validate/links.py

+ 4
- 1
scripts/validate/links.py View File

@@ -216,7 +216,10 @@ if __name__ == '__main__':
has_duplicate_link, duplicates_links = check_duplicate_links(links)

if has_duplicate_link:
print(f'Found duplicate links: {duplicates_links}')
print(f'Found duplicate links:')
for duplicate_link in duplicates_links:
print(duplicate_link)

sys.exit(1)
else:
print('No duplicate links.')


Loading…
Cancel
Save