Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
GokulDas027 committed Oct 3, 2020
1 parent 467e5ce commit fa2dcdf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@ func composer(status, event, actor, repo, workflow, link string) string {

// removing symbols to avoide markdown parser error
event = replacer.Replace(event)
event = strings.ToUpper(event)

repo = replacer.Replace(repo)

actor = replacer.Replace(actor)

// Message text composing
text = icons[strings.ToLower(status)] + " *" + event + "*\n"
text = icons[strings.ToLower(status)] + " *" + strings.ToUpper(event) + "*\n"
text += "was made at " + repo + " \nby " + actor + "\n"
text += "Check here " + "[" + workflow + "](" + link + ")"

Expand Down

0 comments on commit fa2dcdf

Please sign in to comment.