From 705aec8e6ec98b73fcce1b51301187b36d512a85 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 9 Oct 2025 14:14:14 +0300 Subject: [PATCH] Resolve virtual packages in remove subcommand --- src/bpmlib/general.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bpmlib/general.go b/src/bpmlib/general.go index 900bfe6..9ef3cbe 100644 --- a/src/bpmlib/general.go +++ b/src/bpmlib/general.go @@ -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 }