Make cleanup flag in the remove subcommand use the config option for

make dependencies
This commit is contained in:
2025-10-09 12:37:51 +03:00
parent c5f48becf8
commit fee0e6a96f
+1 -1
View File
@@ -207,7 +207,7 @@ func RemovePackages(rootDir string, force, cleanupDependencies bool, packages ..
// Do package cleanup // Do package cleanup
if cleanupDependencies { if cleanupDependencies {
err := operation.Cleanup(true) err := operation.Cleanup(MainBPMConfig.CleanupMakeDependencies)
if err != nil { if err != nil {
return nil, fmt.Errorf("could not perform cleanup for operation: %s", err) return nil, fmt.Errorf("could not perform cleanup for operation: %s", err)
} }