Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goenning committed Jan 15, 2024
1 parent f4e7808 commit bb66e4e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/sync-github.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,15 @@ Upvotes and reviews may take up to 1 hour before showing up on [kubedir.com](htt
console.log(`✅ Created issue #${issue.number}`);
}

project.issue = issue.number;
project.images = issue.images || [];
if (existsSync(`./projects/${project.id}.md`)) {
project.description = readFileSync(`./projects/${project.id}.md`, "utf8");
} else {
project.description = "";
}
project.alternatives = issue.alternatives || [];

project.issue = issue.number;
project.images = project.images || [];
project.alternatives = project.alternatives || [];
project.reviews = await getReviews(issue.number);
project.reactions = await getReactions(issue.number);

Expand Down

0 comments on commit bb66e4e

Please sign in to comment.