Skip to content

Commit 0fb272f

Browse files
Peek bot won't check whether icon is in icomoon (#657)
Co-authored-by: David Leal <halfpacho@gmail.com>
1 parent 192b31b commit 0fb272f

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/scripts/icomoon_peek.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ def main():
1414
runner = None
1515
try:
1616
args = arg_getters.get_selenium_runner_args(True)
17-
new_icons = filehandler.find_new_icons(args.devicon_json_path, args.icomoon_json_path)
18-
19-
if len(new_icons) == 0:
20-
raise Exception("No files need to be uploaded. Ending script...")
17+
new_icons = filehandler.get_json_file_content(args.devicon_json_path)
2118

2219
# get only the icon object that has the name matching the pr title
2320
filtered_icon = find_object_added_in_this_pr(new_icons, args.pr_title)

0 commit comments

Comments
 (0)