1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-20 05:11:37 +02:00

Build bot now check both PR and devicon.json

This commit is contained in:
Thomas Bui
2021-06-17 18:22:01 -07:00
parent 9f3bb9a36e
commit 0486aa765a
4 changed files with 33 additions and 23 deletions

View File

@@ -6,7 +6,7 @@ import os
import re
def find_new_icons(devicon_json_path: str, icomoon_json_path: str):
def find_new_icons_in_devicon_json(devicon_json_path: str, icomoon_json_path: str):
"""
Find the newly added icons by finding the difference between
the devicon.json and the icomoon.json.

View File

@@ -46,7 +46,7 @@ def set_env_var(key: str, value: str, delimiter: str='~'):
raise Exception("This function doesn't support this platform: " + platform.system())
def find_object_added_in_this_pr(icons: List[dict], pr_title: str):
def find_object_added_in_pr(icons: List[dict], pr_title: str):
"""
Find the icon name from the PR title.
:param icons, a list of the font objects found in the devicon.json.