mirror of
https://github.com/mudler/luet.git
synced 2025-09-05 17:20:29 +00:00
cmd/tree/validate: Fix order analysis
This commit is contained in:
@@ -185,8 +185,9 @@ func NewTreeValidateCommand() *cobra.Command {
|
||||
if withSolver {
|
||||
Spinner(32)
|
||||
solution, err := depSolver.Install(pkg.Packages{r})
|
||||
ass := solution.SearchByName(r.GetPackageName())
|
||||
if err == nil {
|
||||
_, err = solution.Order(reciper.GetDatabase(), r.GetFingerPrint())
|
||||
_, err = solution.Order(reciper.GetDatabase(), ass.Package.GetFingerPrint())
|
||||
}
|
||||
SpinnerStop()
|
||||
|
||||
|
Reference in New Issue
Block a user