From a134238dc2f5790325a32577b45c7e41011d8f5f Mon Sep 17 00:00:00 2001 From: Ole Herman Schumacher Elgesem Date: Wed, 19 Jun 2024 16:55:10 +0200 Subject: [PATCH] GH Actions: Fixed TypeError when checking for dependencies Signed-off-by: Ole Herman Schumacher Elgesem --- scripts/s3uploading.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/s3uploading.js b/scripts/s3uploading.js index dea310b..b3df600 100644 --- a/scripts/s3uploading.js +++ b/scripts/s3uploading.js @@ -128,7 +128,7 @@ const processModules = async (modules, versions) => { "by": module.by, "repo": module.repo }; - if (module.dependencies.length){ + if (module.dependencies?.length){ versions[moduleName][module.version].dependencies = module.dependencies }