core: Environment#cwd should expand path to full path
This commit is contained in:
parent
2e9e40c82a
commit
bc4d91fb73
|
@ -84,6 +84,7 @@ module Vagrant
|
|||
if !opts[:cwd].directory?
|
||||
raise Errors::EnvironmentNonExistentCWD, cwd: opts[:cwd].to_s
|
||||
end
|
||||
opts[:cwd] = opts[:cwd].expand_path
|
||||
|
||||
# Set the default ui class
|
||||
opts[:ui_class] ||= UI::Silent
|
||||
|
|
Loading…
Reference in New Issue