diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-03-18 01:20:13 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-03-18 01:20:13 +0900 |
| commit | d3a00ac38a347a083dd8c9f5a2cebf588ac4db78 (patch) | |
| tree | a8525a04e2c35fcc0effab8da7c2e6322bb8c3eb /src/api/service/github.ts | |
| parent | #277 (diff) | |
| download | sharkey-d3a00ac38a347a083dd8c9f5a2cebf588ac4db78.tar.gz sharkey-d3a00ac38a347a083dd8c9f5a2cebf588ac4db78.tar.bz2 sharkey-d3a00ac38a347a083dd8c9f5a2cebf588ac4db78.zip | |
Use new syntax :v:
Diffstat (limited to 'src/api/service/github.ts')
| -rw-r--r-- | src/api/service/github.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/service/github.ts b/src/api/service/github.ts index a6eba3d5e5..79ebc9104e 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': |