Fix typo
This commit is contained in:
parent
e8c0587c85
commit
b17c36c7c7
@ -7,7 +7,7 @@ module Vagrant
|
|||||||
module Action
|
module Action
|
||||||
module Builtin
|
module Builtin
|
||||||
module MixinSyncedFolders
|
module MixinSyncedFolders
|
||||||
autoload :Remote, "vagrant/action/builtin/remote/mixin_synced_folderse"
|
autoload :Remote, "vagrant/action/builtin/remote/mixin_synced_folders"
|
||||||
|
|
||||||
include Vagrant::Util::ScopedHashOverride
|
include Vagrant::Util::ScopedHashOverride
|
||||||
|
|
||||||
|
|||||||
@ -118,11 +118,9 @@ module VagrantPlugins
|
|||||||
end
|
end
|
||||||
|
|
||||||
def _cleaned_folder_hash(folder)
|
def _cleaned_folder_hash(folder)
|
||||||
folder_hash = folder.to_h
|
folder_hash = folder.options.to_ruby.transform_keys(&:to_sym)
|
||||||
folder_hash.delete_if do |k, v|
|
folder_hash[:source] = folder.source
|
||||||
hazzer = :"has_#{k}?"
|
folder_hash[:destination] = folder.destination
|
||||||
folder.respond_to?(hazzer) && !folder.send(hazzer)
|
|
||||||
end
|
|
||||||
folder_hash
|
folder_hash
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user