From b151c7483a814532d3705480dc4092c344576eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Fri, 3 May 2024 10:35:29 -0500 Subject: [PATCH] fix: filter video definitions --- scripts/buildAssets/videos.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/buildAssets/videos.ts b/scripts/buildAssets/videos.ts index 8868ab8ff..80df0fa5a 100644 --- a/scripts/buildAssets/videos.ts +++ b/scripts/buildAssets/videos.ts @@ -128,6 +128,7 @@ export async function videos(production: boolean) { } const content = Object.entries(videos) + .filter(([_, { videos }]) => videos.length > 0) .map( ([id, { videos, lastUpdated }]) => `${id},${lastUpdated},${videos.join(',')}`,