Correct box version sorting of box list command.
Boxes are already correctly sorted as a result of PRs #7956 and #8334. The extra sort here breaks.
This commit is contained in:
parent
ef868a232c
commit
51a15d23bd
|
@ -22,7 +22,7 @@ module VagrantPlugins
|
||||||
argv = parse_options(opts)
|
argv = parse_options(opts)
|
||||||
return if !argv
|
return if !argv
|
||||||
|
|
||||||
boxes = @env.boxes.all.sort
|
boxes = @env.boxes.all
|
||||||
if boxes.empty?
|
if boxes.empty?
|
||||||
return @env.ui.warn(I18n.t("vagrant.commands.box.no_installed_boxes"), prefix: false)
|
return @env.ui.warn(I18n.t("vagrant.commands.box.no_installed_boxes"), prefix: false)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue