1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-14 02:24:04 +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

@@ -17,7 +17,7 @@ def main():
new_icons = filehandler.get_json_file_content(args.devicon_json_path)
# get only the icon object that has the name matching the pr title
filtered_icon = util.find_object_added_in_this_pr(new_icons, args.pr_title)
filtered_icon = util.find_object_added_in_pr(new_icons, args.pr_title)
check_devicon_object(filtered_icon)
print("Icon being checked:", filtered_icon, sep = "\n", end='\n\n')