Update uncivbot.yml

This commit is contained in:
Yair Morgenstern 2021-01-20 23:08:44 +02:00 committed by GitHub
parent 8d88758e5c
commit 65d0088745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ jobs:
commitMessage = commitMessage.replace(/\(\#\d+\)/,"") // match PR auto-text, like (#2345)
if (author != owner){
if (ownerToCommits.get(author)==undefined) ownerToCommits.set(author,[])
ownerToCommits.get(author)?.push(commitMessage)
ownerToCommits.get(author).push(commitMessage)
}
else commitSummary += "\n\n" + commitMessage
});