Only convert path if windows access is granted
This commit is contained in:
parent
5d83c03bfc
commit
6de7c9b445
|
@ -256,7 +256,7 @@ module Vagrant
|
|||
# @param [String, Pathname] path Path to convert
|
||||
# @return [String]
|
||||
def wsl_to_windows_path(path)
|
||||
if wsl?
|
||||
if wsl? && wsl_windows_access?
|
||||
if wsl_path?(path)
|
||||
parts = path.split("/")
|
||||
parts.delete_if(&:empty?)
|
||||
|
|
Loading…
Reference in New Issue