From 0893446bed6cca753549ee8e3cf090f2fcf11d9d Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sat, 1 Feb 2025 17:03:06 +0000 Subject: deps: Upgrade typescript to 5.7 --- apps/workers/videoWorker.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/workers/videoWorker.ts') diff --git a/apps/workers/videoWorker.ts b/apps/workers/videoWorker.ts index f81b0960..10f18454 100644 --- a/apps/workers/videoWorker.ts +++ b/apps/workers/videoWorker.ts @@ -116,9 +116,8 @@ async function runWorker(job: DequeuedJob) { } catch (e) { const err = e as Error; if ( - err.message.includes( - "ERROR: Unsupported URL:" || err.message.includes("No media found"), - ) + err.message.includes("ERROR: Unsupported URL:") || + err.message.includes("No media found") ) { logger.info( `[VideoCrawler][${jobId}] Skipping video download from "${url}", because it's not one of the supported yt-dlp URLs`, -- cgit v1.2.3-70-g09d2