Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
🐛 fix(windows): Fix chown issue (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvatelot authored Mar 20, 2023
1 parent 33f18f9 commit dbe4ad3
Show file tree
Hide file tree
Showing 3 changed files with 1,244 additions and 1,230 deletions.
10 changes: 8 additions & 2 deletions ecoindex_cli/cli/arguments_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@


@validate_arguments
def validate_list_of_urls(urls: List[HttpUrl]) -> HttpUrl:
return urls
def validate_list_of_urls(urls: List[HttpUrl]) -> Tuple[HttpUrl]:
result = set()

for url in urls:
splitted_url = url.split("?")
result.add(splitted_url[0])

return result


@validate_arguments
Expand Down
Loading

0 comments on commit dbe4ad3

Please sign in to comment.