mirror of
https://github.com/mudler/luet.git
synced 2025-08-31 14:52:02 +00:00
Drop IsFlagged() from what the solver considers
This commit is contained in:
@@ -67,12 +67,12 @@ func (a *PackageAssert) String() string {
|
||||
|
||||
func (a *PackageAssert) ToString() string {
|
||||
var msg string
|
||||
if a.Package.Flagged() {
|
||||
if a.Value {
|
||||
msg = "installed"
|
||||
} else {
|
||||
msg = "not installed"
|
||||
}
|
||||
return fmt.Sprintf("%s/%s %s %s: %t", a.Package.GetCategory(), a.Package.GetName(), a.Package.GetVersion(), msg, a.Value)
|
||||
return fmt.Sprintf("%s/%s %s %s", a.Package.GetCategory(), a.Package.GetName(), a.Package.GetVersion(), msg)
|
||||
}
|
||||
|
||||
func (assertions PackagesAssertions) EnsureOrder() PackagesAssertions {
|
||||
|
Reference in New Issue
Block a user