File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 += `[](https://github.com/${ owner } /${ repo } )\n\n`
You can’t perform that action at this time.
0 commit comments