From 6411fb454c9538bb30fae3119fe692744ee13607 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Thu, 17 Jul 2025 18:54:05 +0300 Subject: [PATCH] Update grab.ts --- scripts/commands/epg/grab.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/commands/epg/grab.ts b/scripts/commands/epg/grab.ts index 9e36a2c2..b350443c 100644 --- a/scripts/commands/epg/grab.ts +++ b/scripts/commands/epg/grab.ts @@ -31,7 +31,7 @@ program '--days ', 'Override the number of days for which the program will be loaded (defaults to the value from the site config)' ) - .argParser(value => parseInt(value)) + .argParser(value => (value !== undefined ? parseInt(value) : undefined)) .env('DAYS') ) .addOption(