Skip to content

Commit

Permalink
fix link for the comment in issue event
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Makhov committed Mar 3, 2021
1 parent d24939b commit db86842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ local function generate_action_string(event)
icon = hs.styledtext.new('', { font = {name = 'feather', size = 12 }, color = {hex = '#8e8e8e'}})
elseif (event.type == "IssueCommentEvent") then
action_string = event.payload.action == 'created' and 'commented in issue' or event.payload.action .. ' a comment in'
link = event.issue_url
link = event.payload.issue.html_url
icon = hs.styledtext.new('', { font = {name = 'feather', size = 12 }, color = {hex = '#8e8e8e'}})
elseif (event.type == "WatchEvent") then
action_string = 'starred'
Expand Down

0 comments on commit db86842

Please sign in to comment.