mirror of
https://github.com/EnumeratedDev/bpm.git
synced 2026-09-16 02:26: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]
|
||||
}
|
||||
|
||||
// Skip dependency if action already exists
|
||||
if operation.ActionsContainPackage(depEntry.Info.Name) {
|
||||
continue
|
||||
}
|
||||
|
||||
// Skip dependency if ignored in config
|
||||
if slices.Contains(MainBPMConfig.IgnorePackages, depEntry.Info.Name) {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user