Skip to content

Commit 4eb47a0

Browse files
committed
format for ci
1 parent 3154cc6 commit 4eb47a0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/slack_message.ml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,11 @@ let populate_commit repository (commit : api_commit) =
123123
let title =
124124
sprintf "`<%s|%s>` *%s - <%s|%s>*" url (Slack.git_short_sha_hash sha)
125125
(escape_mrkdwn @@ first_line commit.message)
126-
(escape_mrkdwn author.html_url)
127-
(escape_mrkdwn commit.author.name)
126+
(escape_mrkdwn author.html_url) (escape_mrkdwn commit.author.name)
128127
in
129128
let changes =
130129
match files with
131-
| [f] -> sprintf "_modified `%s` (+%d-%d)_" (escape_mrkdwn f.filename) f.additions f.deletions
130+
| [ f ] -> sprintf "_modified `%s` (+%d-%d)_" (escape_mrkdwn f.filename) f.additions f.deletions
132131
| _ ->
133132
let prefix_path =
134133
List.map files ~f:(fun f -> f.filename)

0 commit comments

Comments
 (0)