mirror of
https://github.com/EnumeratedDev/bpm.git
synced 2026-10-31 11:01:48 +00:00
Resolve virtual packages in remove subcommand
This commit is contained in:
1 file changed
+3
@@ -199,6 +199,9 @@ func RemovePackages(rootDir string, force, cleanupDependencies bool, packages ..
|
||||
// Search for packages
|
||||
for _, pkg := range packages {
|
||||
bpmpkg := GetPackage(pkg, rootDir)
|
||||
if isVirutal, vpkg := IsVirtualPackage(pkg, rootDir); isVirutal {
|
||||
bpmpkg = GetPackage(vpkg, rootDir)
|
||||
}
|
||||
if bpmpkg == nil {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user