Skip to content
This repository was archived by the owner on Jun 17, 2022. It is now read-only.

Commit 62a3cdc

Browse files
committed
Fix: too many wrap.
1 parent 44968db commit 62a3cdc

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/github/push.class.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,16 @@ public function getMessage(): string
2626
}
2727
$body = $this->data;
2828
$message = <<<EOF
29-
### 有新的<font color=\"warning\">Push</font>事件
30-
29+
### 有新的<font color="warning">Push</font>事件
3130
仓库: [{$body['repository']['name']}]({$body['repository']['html_url']})
32-
3331
推送者: [{$body['pusher']['name']}({$body['pusher']['email']})]({$body['sender']['html_url']})
34-
3532
EOF;
3633
foreach ($body['commits'] as $commit) {
3734
$message .= <<<EOF
3835
3936
> Commit {$commit['id']}:
40-
>
41-
> <font color=\"comment\">{$commit['message']}</font>
42-
>
37+
> {$commit['message']}
4338
> on {$commit['timestamp']}
44-
>
4539
> [查看详情]({$commit['url']})
4640
4741
EOF;

0 commit comments

Comments
 (0)