Skip to content

Commit

Permalink
続々と変更される継続的インテグレーション4
Browse files Browse the repository at this point in the history
  • Loading branch information
Ry0taK committed Jun 22, 2024
1 parent 9c755aa commit cf3b7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/sync-database.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const octokit = github.getOctokit(process.env.GITHUB_TOKEN);
try {
configureGit();
checkoutBranch('database');
const id = `CRE-${new Date().getFullYear()}-${36000 + fs.readdirSync('database').length}`;
const id = `CRE-${new Date().getFullYear()}-${36000 + fs.readdirSync('.').length}`;
const body = JSON.parse(issue.body);
if (!body.author || !body.text || !body.vector_string) {
throw new Error('Invalid issue body');
Expand Down

0 comments on commit cf3b7c2

Please sign in to comment.