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:
Gökhan Şengün 2017-03-29 00:56:42 +03:00
parent ef868a232c
commit 51a15d23bd
1 changed files with 1 additions and 1 deletions

View File

@ -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