Line up equal signs because I'm anal about it

This commit is contained in:
Mitchell Hashimoto 2013-02-27 19:12:45 -08:00
parent 54bcac2e7a
commit 21c218e32f
1 changed files with 2 additions and 2 deletions

View File

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