Skip to content

Commit a222c9b

Browse files
committed
chore: update issue template scripts
1 parent 1ecfe91 commit a222c9b

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

.github/scripts/create-rss.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ const rssFilePath = `./docs/rss/${year}-${week}.json`;
159159
const markdownContent = fs.readFileSync('./docs/README.md', 'utf-8');
160160
// <!--RSS_LIST_START--><!--RSS_LIST_END-->
161161
const contentx = markdownContent.replace(/<!--RSS_LIST_START-->[\s\S]*<!--RSS_LIST_END-->/g, `<!--RSS_LIST_START-->\n${mdListContent}\n<!--RSS_LIST_END-->`);
162-
fs.writeFileSync('./docs/README.md', contentx);
162+
fs.writeFileSync('./docs/feed.md', contentx);
163163
// 输出写入成功日志
164164
info(`README.md 文件写入成功:./docs/README.md`);
165165

docs/README.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.md

0 commit comments

Comments
 (0)