From 68f39c43639bbe05d3ae793ca22f1f0739ea833d Mon Sep 17 00:00:00 2001 From: Nico Jensch Date: Tue, 5 Nov 2024 10:58:38 +0100 Subject: [PATCH] fix(backend): account for no changed ArchPackages --- backend/src/repo-manager/repo-manager.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/repo-manager/repo-manager.service.ts b/backend/src/repo-manager/repo-manager.service.ts index 4dd48d9..c496c82 100644 --- a/backend/src/repo-manager/repo-manager.service.ts +++ b/backend/src/repo-manager/repo-manager.service.ts @@ -183,7 +183,7 @@ export class RepoManagerService { if (!results || !repoManager) return; Logger.log("Summarizing changes:", "RepoManager"); - if (repoManager.changedArchPackages.length > 0) { + if (repoManager.changedArchPackages && repoManager.changedArchPackages?.length > 0) { Logger.log( `In total, ${repoManager.changedArchPackages.length} Arch package(s) were changed`, "RepoManager",