core: file:/// for windows paths [GH-5288]
This commit is contained in:
parent
1405395d81
commit
21cacb6eb8
|
@ -382,6 +382,7 @@ module Vagrant
|
|||
file_path = File.expand_path(url)
|
||||
file_path = Util::Platform.cygwin_windows_path(file_path)
|
||||
file_path = file_path.gsub("\\", "/")
|
||||
file_path = "/#{file_path}" if !file_path.start_with?("/")
|
||||
url = "file://#{file_path}"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue