mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-04 22:32:49 -04:00
Fix missing VagrantPlugins::HostDarwin::Cap::Version on Big Sur
This commit is contained in:
parent
e5b3dc9dd8
commit
2bc1e2927b
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue