Merge pull request #8422 from gokhansengun/master

Correct box version sorting in box list command's output.
This commit is contained in:
Chris Roberts 2017-03-28 15:37:29 -07:00 committed by GitHub
commit c7cb0041a8
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