mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-30 07:49:02 +09:00
Use new syntax ✌️
This commit is contained in:
parent
bc3006f3c4
commit
d3a00ac38a
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user