修复上报仓库信息表格,移除仓库名称列
This commit is contained in:
@@ -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', {
|
||||
|
||||
Reference in New Issue
Block a user