Skip to content

Commit

Permalink
chore: Add bug and feature issue templates
Browse files Browse the repository at this point in the history
fix(script): error message in download script
  • Loading branch information
Chilfish committed Feb 28, 2024
1 parent 3d6b87e commit 7a2d4b8
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 4 deletions.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Bug 反馈
about: 运行时遇到的 bug
labels: Bug
assignees: ''
---

- [ ] 我确认我已经搜索了已有的 [issues](https://github.com/Chilfish/Weibo-archiver/issues?q=is%3Aissue),没有找到类似的问题。

### 问题描述

### 复现步骤

### bug 截图

### 运行的环境

- 浏览器版本:
- 脚本的版本:

### 其他信息
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Questions & Discussions
url: https://github.com/Chilfish/Weibo-archiver/discussions/categories/q-a
about: Use GitHub discussions for message-board style questions and discussions.
- name: 讨论区
url: https://github.com/Chilfish/Weibo-archiver/discussions/
about: 讨论区
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: 功能建议、请求
about: 提出一个新功能的建议
title: '<title>'
labels: enhancement
assignees: ''
---

### 功能描述

### 你期望的结果

### 其他信息
2 changes: 1 addition & 1 deletion scripts/download.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ for (const url of url_list) {
await download_file(url, file_path)
}
catch (e) {
console.error(e)
console.error(`下载失败:${url},原因:${e.cause || e.message}`)
}
}

Expand Down

0 comments on commit 7a2d4b8

Please sign in to comment.