Skip to content

Commit

Permalink
Peek bot won't check whether icon is in icomoon (devicons#657)
Browse files Browse the repository at this point in the history
Co-authored-by: David Leal <[email protected]>
  • Loading branch information
Thomas-Boi and Panquesito7 authored May 30, 2021
1 parent a630cb8 commit dc32af6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/scripts/icomoon_peek.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ def main():
runner = None
try:
args = arg_getters.get_selenium_runner_args(True)
new_icons = filehandler.find_new_icons(args.devicon_json_path, args.icomoon_json_path)

if len(new_icons) == 0:
raise Exception("No files need to be uploaded. Ending script...")
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 = find_object_added_in_this_pr(new_icons, args.pr_title)
Expand Down

0 comments on commit dc32af6

Please sign in to comment.