Skip to content

Commit f893e98

Browse files
author
lucifer
committed
test
1 parent 822e710 commit f893e98

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

schedule/daily-check.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const mySolutions = require("../static/my/solutions.json");
99

1010
const octokit = new Octokit({ auth: process.env.issueToken });
1111
const problem = solutions[getDay() - 1]; // 获取昨天的题目
12-
12+
console.log(problem);
1313
if (problem && problem.issue_number) {
1414
octokit.rest.issues
1515
.listComments({

schedule/daily-problem.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const solutions = require("../static/solution/solutions.json");
99
const octokit = new Octokit({ auth: process.env.issueToken });
1010

1111
const solution = solutions[getDay()];
12+
console.log(getDay(), solution);
1213

1314
// generate content for issues
1415
const generateIssueContent = ({ title, link, pres, description, whys }) => {

0 commit comments

Comments
 (0)