Skip to content

Commit c173622

Browse files
committed
fix: commit time
1 parent 6bcca4d commit c173622

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/actions/scan.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ program.description('扫描以生成readme').action(async () => {
2727
for (const pluginPath of plugins) {
2828
const file = Bun.file(pluginPath)
2929
const name = path.parse(file.name ?? '_.json').name
30-
const date = await getCommitTime(file.name ?? '_.json')
30+
// const date = await getCommitTime(file.name ?? '_.json')
3131
const content = (await file.json()) as ArchivePlugin
3232
newContent += '\n'
3333
newContent += `## ${name}\n\n`
34-
newContent += `**注册更新时间:** ${dayjs(date).format('YYYY-MM-DD HH:mm')}\n\n`
34+
// newContent += `**注册更新时间:** ${dayjs(date).format('YYYY-MM-DD HH:mm')}\n\n`
3535
if (isGh(content.download)) {
3636
const [owner, repo] = decodeGh(content.download)
3737
newContent += `[![Readme Card](https://wenxig-grs.vercel.app/api/pin/?username=${owner}&repo=${repo}&user&theme=transparent)](https://github.com/${owner}/${repo})\n\n`

0 commit comments

Comments
 (0)