From c8b097cd6ae53a70ad877b419884b6cad35be60b Mon Sep 17 00:00:00 2001 From: ook37 Date: Thu, 16 Jan 2025 00:37:52 -0500 Subject: [PATCH] fix(parser): ensure equiv empty types for `repology` --- server/types/pac/script.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/types/pac/script.go b/server/types/pac/script.go index e48524c1..840fef7e 100644 --- a/server/types/pac/script.go +++ b/server/types/pac/script.go @@ -151,7 +151,7 @@ func FromSrcInfo(info srcinfo.Srcinfo) []*Script { Sha384Sums: toArchDistroStrings(info.SHA384Sums), Sha512Sums: toArchDistroStrings(info.SHA512Sums), Backup: orEmptyArray(info.Backup), - Repology: info.Repology, + Repology: orEmptyArray(info.Repology), RequiredBy: []string{}, UpdateStatus: UpdateStatus.Unknown, })