cmd/tree/validate: Integrate order of the solution

This commit is contained in:
Daniele Rondina
2020-04-09 15:58:05 +02:00
parent 0d2668e452
commit 726a749b4b

View File

@@ -184,7 +184,8 @@ func NewTreeValidateCommand() *cobra.Command {
if withSolver {
Spinner(32)
_, err := depSolver.Install(pkg.Packages{r})
solution, err := depSolver.Install(pkg.Packages{r})
solution.Order(reciper.GetDatabase(), r.GetFingerPrint())
SpinnerStop()
if err != nil {