mirror of
https://github.com/konpa/devicon.git
synced 2025-07-31 11:50:13 +02:00
Peek bot won't check whether icon is in icomoon (#657)
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
5
.github/scripts/icomoon_peek.py
vendored
5
.github/scripts/icomoon_peek.py
vendored
@@ -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)
|
||||
|
Reference in New Issue
Block a user