mirror of
https://github.com/konpa/devicon.git
synced 2025-08-12 09:34:36 +02:00
Fix check icon not running for update icon pr (#1060)
This commit is contained in:
4
.github/scripts/icomoon_build.py
vendored
4
.github/scripts/icomoon_build.py
vendored
@@ -56,7 +56,7 @@ def main():
|
||||
|
||||
print("Task completed.")
|
||||
except TimeoutException as e:
|
||||
util.exit_with_err("Selenium Time Out Error: \n" + str(e))
|
||||
util.exit_with_err(Exception("Selenium Time Out Error: \n" + str(e)))
|
||||
except Exception as e:
|
||||
util.exit_with_err(e)
|
||||
finally:
|
||||
@@ -95,7 +95,7 @@ def get_icons_for_building(icomoon_json_path: str, devicon_json_path: str, token
|
||||
return new_icons
|
||||
|
||||
|
||||
def optimize_svgs(new_icons: List[str], icons_folder_path: str):
|
||||
def optimize_svgs(new_icons: List[dict], icons_folder_path: str):
|
||||
"""
|
||||
Optimize the newly added svgs. This is done in batches
|
||||
since the command line has a limit on characters allowed.
|
||||
|
Reference in New Issue
Block a user