Skip to content

Commit

Permalink
Fix duplicated past icons in build process (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Boi authored Jun 13, 2021
1 parent 26e2c64 commit 794e859
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/scripts/icomoon_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def get_icons_for_building(devicon_json_path: str, token: str):
for pull_req in pull_reqs:
if api_handler.is_feature_icon(pull_req):
filtered_icon = util.find_object_added_in_this_pr(all_icons, pull_req["title"])
new_icons.append(filtered_icon)
if filtered_icon not in new_icons:
new_icons.append(filtered_icon)
return new_icons


Expand Down

0 comments on commit 794e859

Please sign in to comment.