Line up equal signs because I'm anal about it
This commit is contained in:
parent
54bcac2e7a
commit
21c218e32f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue