修复上报仓库信息表格,移除仓库名称列

This commit is contained in:
xiongxiao
2026-03-18 01:39:59 +08:00
committed by cnb
parent aed05790ea
commit 62b70712aa

View File

@@ -54,11 +54,11 @@ app.route({
// 处理上报的仓库信息 // 处理上报的仓库信息
await closeOldReports(); await closeOldReports();
if (Array.isArray(repoList)) { if (Array.isArray(repoList)) {
let infoTable = '| 仓库路径 | 仓库名称 | 仓库链接 | 仓库描述 | 仓库标签 |\n'; let infoTable = '| 仓库路径 | 仓库链接 | 仓库描述 | 仓库标签 |\n';
infoTable += '| --- | --- | --- | --- | --- |\n'; infoTable += '| --- | --- | --- | --- |\n';
repoList.forEach(repo => { repoList.forEach(repo => {
const topics = repo.topics.join(', '); 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); console.log('上报的仓库信息表格:\n', infoTable);
cnb.issue.createIssue('kevisual/kevisual', { cnb.issue.createIssue('kevisual/kevisual', {