From 726d19047a2cc89fe7bc6b88d41ee58355d60c81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleks=20R=C5=ABti=C5=86=C5=A1?= Date: Wed, 16 Jul 2025 11:17:38 -0400 Subject: [PATCH] at least don't error --- wipebulk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wipebulk.js b/wipebulk.js index a4dd39d..b79714a 100644 --- a/wipebulk.js +++ b/wipebulk.js @@ -70,7 +70,7 @@ await info("Devices with available updates:"); await info( devices - .filter((d) => d.AvailableOSUpdates.filter(Boolean).length > 0) + .filter((d) => d.AvailableOSUpdates?.filter(Boolean)?.length ?? 0 > 0) .map((d) => d.serial_number) .join(","), );