mirror of
https://github.com/EnumeratedDev/bpm.git
synced 2026-09-16 10:36:12 +00:00
Make cleanup flag in the remove subcommand use the config option for
make dependencies
This commit is contained in:
@@ -207,7 +207,7 @@ func RemovePackages(rootDir string, force, cleanupDependencies bool, packages ..
|
||||
|
||||
// Do package cleanup
|
||||
if cleanupDependencies {
|
||||
err := operation.Cleanup(true)
|
||||
err := operation.Cleanup(MainBPMConfig.CleanupMakeDependencies)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("could not perform cleanup for operation: %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user