We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 918367c commit 483e027Copy full SHA for 483e027
lib/slack_message.ml
@@ -123,12 +123,11 @@ let populate_commit repository (commit : api_commit) =
123
let title =
124
sprintf "`<%s|%s>` *%s - <%s|%s>*" url (Slack.git_short_sha_hash sha)
125
(escape_mrkdwn @@ first_line commit.message)
126
- (escape_mrkdwn author.html_url)
127
- (escape_mrkdwn commit.author.name)
+ (escape_mrkdwn author.html_url) (escape_mrkdwn commit.author.name)
128
in
129
let changes =
130
match files with
131
- | [f] -> sprintf "_modified `%s` (+%d-%d)_" (escape_mrkdwn f.filename) f.additions f.deletions
+ | [ f ] -> sprintf "_modified `%s` (+%d-%d)_" (escape_mrkdwn f.filename) f.additions f.deletions
132
| _ ->
133
let prefix_path =
134
List.map files ~f:(fun f -> f.filename)
0 commit comments