forked from ALHP/ALHP.GO
ignore dbpackage not existing in repoPurge
This commit is contained in:
2
main.go
2
main.go
@@ -458,7 +458,7 @@ func (b *BuildManager) repoWorker(repo string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if pkg.DbPackage != nil {
|
if pkg.DbPackage != nil {
|
||||||
pkg.DbPackage = pkg.DbPackage.Update().ClearRepoVersion().SaveX(context.Background())
|
_ = pkg.DbPackage.Update().ClearRepoVersion().Exec(context.Background())
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, file := range pkg.PkgFiles {
|
for _, file := range pkg.PkgFiles {
|
||||||
|
Reference in New Issue
Block a user