Skip to content

Commit

Permalink
Fix condition in video-todo-generator script to correctly generate ma…
Browse files Browse the repository at this point in the history
…rkdown table
  • Loading branch information
dragonfire1119 committed May 2, 2024
1 parent 7077cf7 commit cf3e8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/video-todo-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const appToMarkdownTable = (apps: Record<string, App>) => {
const youtubeLink = app.youtubeVideo
? `[YouTube Video](${app.youtubeVideo})`
: "";
if (youtubeLink !== "") {
if (youtubeLink === "") {
table += `| ${app.name} | ${youtubeLink} |\n`;
}
});
Expand Down

0 comments on commit cf3e8cf

Please sign in to comment.