core: chomp the version so we can echo into it
This commit is contained in:
parent
2c72c32df0
commit
79581df71b
|
@ -525,7 +525,7 @@ module Vagrant
|
|||
# upgrade it. Otherwise, we just mark that its the current version.
|
||||
version_file = @home_path.join("setup_version")
|
||||
if version_file.file?
|
||||
version = version_file.read
|
||||
version = version_file.read.chomp
|
||||
if version > CURRENT_SETUP_VERSION
|
||||
raise Errors::HomeDirectoryLaterVersion
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue