mirror of
https://github.com/konpa/devicon.git
synced 2025-08-12 01:24:42 +02:00
add handling for no given aliases
This commit is contained in:
2
.github/scripts/build_assets/filehandler.py
vendored
2
.github/scripts/build_assets/filehandler.py
vendored
@@ -63,7 +63,7 @@ def get_svgs_paths(new_icons: List[dict], icons_folder_path: str) -> List[str]:
|
||||
try:
|
||||
aliases = icon_info["aliases"]
|
||||
except KeyError:
|
||||
continue
|
||||
aliases = [] # create empty list of aliases if not provided in devicon.json
|
||||
|
||||
for font_version in icon_info["versions"]["font"]:
|
||||
if is_alias(font_version, aliases):
|
||||
|
Reference in New Issue
Block a user