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