mirror of
https://github.com/EnumeratedDev/bpm.git
synced 2026-09-16 10:36:12 +00:00
Disabled repositories will now be removed from the Repositories slice immediately
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user