mirror of
https://github.com/EnumeratedDev/bpm.git
synced 2026-09-16 10:36:12 +00:00
Do not add fetch action for missing dependency again if it already exists
This commit is contained in:
@@ -439,6 +439,11 @@ func UpdatePackages(rootDir string, syncDatabase, allowDowngrades, forceInstalla
|
|||||||
depEntry = providers[0]
|
depEntry = providers[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Skip dependency if action already exists
|
||||||
|
if operation.ActionsContainPackage(depEntry.Info.Name) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
// Skip dependency if ignored in config
|
// Skip dependency if ignored in config
|
||||||
if slices.Contains(MainBPMConfig.IgnorePackages, depEntry.Info.Name) {
|
if slices.Contains(MainBPMConfig.IgnorePackages, depEntry.Info.Name) {
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user