From ff6ba3f19b04fe4572a591c7c005405162594b85 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 18 Mar 2017 01:22:28 +0900 Subject: [PATCH] :v: --- src/api/service/github.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/api/service/github.ts b/src/api/service/github.ts index 79ebc9104e..c811a38da9 100644 --- a/src/api/service/github.ts +++ b/src/api/service/github.ts @@ -37,8 +37,7 @@ module.exports = async (app: express.Application) => { const compare = event.compare; const commits = event.commits; post([ - `Pushed by **${pusher.name}** with ${commits.length} commit${commits.length > 1 ? 's' : ''}: ?[Compare Changes](${compare})`, - '', + `Pushed by **${pusher.name}** with ?[${commits.length} commit${commits.length > 1 ? 's' : ''}](${compare}):`, commits.map(commit => `・?[${commit.message.split('\n')[0]}](${commit.url})`).join('\n'), ].join('\n')); break;