diff --git a/src/routes/cnb.ts b/src/routes/cnb.ts index 692d832..cc78856 100644 --- a/src/routes/cnb.ts +++ b/src/routes/cnb.ts @@ -54,11 +54,11 @@ app.route({ // 处理上报的仓库信息 await closeOldReports(); if (Array.isArray(repoList)) { - let infoTable = '| 仓库路径 | 仓库名称 | 仓库链接 | 仓库描述 | 仓库标签 |\n'; - infoTable += '| --- | --- | --- | --- | --- |\n'; + let infoTable = '| 仓库路径 | 仓库链接 | 仓库描述 | 仓库标签 |\n'; + infoTable += '| --- | --- | --- | --- |\n'; repoList.forEach(repo => { const topics = repo.topics.join(', '); - infoTable += `| ${repo.path} | ${repo.name} | [链接](${repo.web_url}) | ${repo.description} | ${topics} |\n`; + infoTable += `| ${repo.path} | [链接](${repo.web_url}) | ${repo.description} | ${topics} |\n`; }); console.log('上报的仓库信息表格:\n', infoTable); cnb.issue.createIssue('kevisual/kevisual', {