Skip to content

Commit

Permalink
fix(backend): account for no changed ArchPackages
Browse files Browse the repository at this point in the history
  • Loading branch information
dr460nf1r3 committed Nov 5, 2024
1 parent 14b1ed0 commit 68f39c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/repo-manager/repo-manager.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 68f39c4

Please sign in to comment.