Fix panic when performing incremental database updates

This commit is contained in:
Elara 2023-02-01 11:55:22 -08:00
parent 295a092556
commit 448dbd74ee
1 changed files with 3 additions and 0 deletions

View File

@ -285,6 +285,9 @@ func processRepoChanges(ctx context.Context, repo types.Repo, r *git.Repository,
}
pkg := db.Package{
Description: db.NewJSON(map[string]string{}),
Homepage: db.NewJSON(map[string]string{}),
Maintainer: db.NewJSON(map[string]string{}),
Depends: db.NewJSON(map[string][]string{}),
BuildDepends: db.NewJSON(map[string][]string{}),
Repository: repo.Name,