Fix missing VagrantPlugins::HostDarwin::Cap::Version on Big Sur
This commit is contained in:
parent
e5b3dc9dd8
commit
2bc1e2927b
@ -17,7 +17,8 @@ module VagrantPlugins
|
||||
def self.resolve_host_path(env, path)
|
||||
path = File.expand_path(path)
|
||||
# Only expand firmlink paths on Catalina
|
||||
return path if !CATALINA_CONSTRAINT.satisfied_by?(Cap::Version.version(env))
|
||||
host_version = env.host.capability(:version)
|
||||
return path if !CATALINA_CONSTRAINT.satisfied_by?(host_version)
|
||||
|
||||
firmlink = firmlink_map.detect do |mount_path, data_path|
|
||||
path.start_with?(mount_path)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user