File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99def main ():
1010 args = util .get_commandline_args ()
1111 new_icons = filehandler .find_new_icons (args .devicon_json_path , args .icomoon_json_path )
12- # if len(new_icons) == 0:
13- # print("No files need to be uploaded. Ending script...")
14- # return
12+ if len (new_icons ) == 0 :
13+ print ("No files need to be uploaded. Ending script..." )
14+ return
1515
1616 # print list of new icons
1717 print ("List of new icons:" , * new_icons , sep = "\n " )
Original file line number Diff line number Diff line change @@ -40,16 +40,20 @@ jobs:
4040 env :
4141 IMG_URL : ${{ steps.imgur_step.outputs.imgur_url }}
4242 MESSAGE : >
43- Hi! I'm Devicons' Peek Bot!
44-
45- I just peeked at the icons that you wanted to add using [icomoon.io](https://icomoon.io/app/#/select).
43+ Hi!
44+
45+
46+ I'm Devicons' Peek Bot and I just peeked at the icons that you wanted to add using [icomoon.io](https://icomoon.io/app/#/select).
4647
4748 Here is the result below:
4849
50+
4951 
5052
53+
5154 Note: If the image doesn't show up, it's probably because it has been autodeleted by Imgur after 6 months due to our API choice.
5255
56+
5357 Here is [the url]({1}).
5458
5559
You can’t perform that action at this time.
0 commit comments