Update vars/notifyLark.groovy
This commit is contained in:
@@ -23,7 +23,7 @@ def buildCommitDiffMarkdown() {
|
|||||||
def maxCommits = 15
|
def maxCommits = 15
|
||||||
if (commits.size() > maxCommits) {
|
if (commits.size() > maxCommits) {
|
||||||
commits = commits.take(maxCommits)
|
commits = commits.take(maxCommits)
|
||||||
commits << "_……以及更多提交_"
|
commits << "\n_……以及更多提交_"
|
||||||
}
|
}
|
||||||
|
|
||||||
return commits.join('\n')
|
return commits.join('\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user