mirror of
https://github.com/EnumeratedDev/bpm.git
synced 2026-10-31 11:01:48 +00:00
Do not add fetch action for missing dependency again if it already exists
This commit is contained in:
1 file changed
+5
@@ -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