Disabled repositories will now be removed from the Repositories slice immediately

This commit is contained in:
2024-08-28 10:58:49 +03:00
parent 123697e1dc
commit 12d5e7580e
3 changed files with 6 additions and 7 deletions
-6
View File
@@ -268,12 +268,6 @@ func resolveCommand() {
}
}
for _, repo := range utils.BPMConfig.Repositories {
if repo.Disabled {
if verbose {
fmt.Printf("Skipping repository (%s) because it is disabled\n", repo.Name)
}
continue
}
fmt.Printf("Fetching package database for repository (%s)...\n", repo.Name)
err := repo.SyncLocalDatabase()
if err != nil {