This commit is contained in:
Untone 2025-02-19 01:46:56 +03:00
parent 531cec1c54
commit 8c86c45f27

View File

@ -61,7 +61,7 @@ const formatCommit = (commit, repoUrl) => {
*/
const formatMessage = (data, commits) => {
const repoUrl = data.repository.html_url || data.repository.url
const repoName = data.repository.name.split('/').pop()
const repoName =(data.repository.name || data.repository.full_name || '').split('/').pop()
const branch = data.ref.split('/').pop()
const branchUrl = `${repoUrl}/tree/${branch}`