From d3a00ac38a347a083dd8c9f5a2cebf588ac4db78 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 18 Mar 2017 01:20:13 +0900 Subject: [PATCH] Use new syntax :v: --- src/api/service/github.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/service/github.ts b/src/api/service/github.ts index a6eba3d5e..79ebc9104 100644 --- a/src/api/service/github.ts +++ b/src/api/service/github.ts @@ -37,9 +37,9 @@ 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}`, + `Pushed by **${pusher.name}** with ${commits.length} commit${commits.length > 1 ? 's' : ''}: ?[Compare Changes](${compare})`, '', - commits.map(commit => `・${commit.message.split('\n')[0]}`).join('\n'), + commits.map(commit => `・?[${commit.message.split('\n')[0]}](${commit.url})`).join('\n'), ].join('\n')); break; case 'refs/heads/release':