From 21c218e32ff479536a83439187b39ae2f0c35903 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 27 Feb 2013 19:12:45 -0800 Subject: [PATCH] Line up equal signs because I'm anal about it --- plugins/providers/virtualbox/action/check_guest_additions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/providers/virtualbox/action/check_guest_additions.rb b/plugins/providers/virtualbox/action/check_guest_additions.rb index a79b0eeeb..77552699d 100644 --- a/plugins/providers/virtualbox/action/check_guest_additions.rb +++ b/plugins/providers/virtualbox/action/check_guest_additions.rb @@ -19,9 +19,9 @@ module VagrantPlugins # Strip of any -OSE or _OSE and read only the first two parts # of the version such as "4.2" in "4.2.0" versions.map! do |v| - v = v.gsub(/[-_]ose/i, '') + v = v.gsub(/[-_]ose/i, '') match = /^(\d+\.\d+)\.(\d+)/.match(v) - v = match[1] if match + v = match[1] if match v end