mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 15:40:57 -07:00
Use new syntax ✌️
This commit is contained in:
parent
1283335d00
commit
98d4a72076
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue