From 51a15d23bdeec9bc6dd91eab3fa5caf9abe7089d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Go=CC=88khan=20S=CC=A7engu=CC=88n?= Date: Wed, 29 Mar 2017 00:56:42 +0300 Subject: [PATCH] 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. --- plugins/commands/box/command/list.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/commands/box/command/list.rb b/plugins/commands/box/command/list.rb index 6bb90b79b..f2a3fed76 100644 --- a/plugins/commands/box/command/list.rb +++ b/plugins/commands/box/command/list.rb @@ -22,7 +22,7 @@ module VagrantPlugins argv = parse_options(opts) return if !argv - boxes = @env.boxes.all.sort + boxes = @env.boxes.all if boxes.empty? return @env.ui.warn(I18n.t("vagrant.commands.box.no_installed_boxes"), prefix: false) end