Redo dependency resolution and cache installed package information

This commit is contained in:
2025-05-13 20:26:55 +03:00
parent f2bc7c8968
commit 5f03a6a1ad
7 changed files with 420 additions and 319 deletions
+2 -2
View File
@@ -161,7 +161,7 @@ func RemovePackages(rootDir string, removeUnusedPackagesOnly, cleanupDependencie
// Do package cleanup
if cleanupDependencies {
err := operation.Cleanup(verbose)
err := operation.Cleanup()
if err != nil {
return nil, fmt.Errorf("could not perform cleanup for operation: %s", err)
}
@@ -180,7 +180,7 @@ func CleanupPackages(rootDir string, verbose bool) (operation *BPMOperation, err
}
// Do package cleanup
err = operation.Cleanup(verbose)
err = operation.Cleanup()
if err != nil {
return nil, fmt.Errorf("could not perform cleanup for operation: %s", err)
}