Skip to content

Commit a0f6e3a

Browse files
author
robot
committed
feat: 手动执行
1 parent 831e1e5 commit a0f6e3a

File tree

4 files changed

+321
-4
lines changed

4 files changed

+321
-4
lines changed

Diff for: .github/workflows/schedule.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
node-version: "14"
1717
- run: npm install
18-
- name: daily problem and daily check
18+
- name: daily problem
1919
env:
2020
issueToken: ${{secrets.ISSUETOKEN}}
2121
run: npm run daily-schedule

Diff for: schedule/daily-check.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ function getAllPages(i) {
2323
if (res.data.length > 0)
2424
return getAllPages(i + 1).then((comments) => res.data.concat(comments));
2525
return [];
26-
});
26+
})
27+
.catch(console.error);
2728
}
2829

2930
async function run() {

Diff for: static/my/solutions.json

+1-1
Large diffs are not rendered by default.

Diff for: static/solution/solutions.json

+317-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)