From c7fdd92eb5ff9514e85152471feef65d813b8652 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 15 Feb 2022 15:00:21 -0800 Subject: [PATCH] Add folders type to mappers --- plugins/commands/serve/mappers.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/commands/serve/mappers.rb b/plugins/commands/serve/mappers.rb index e4d2471be..be1fcc5c5 100644 --- a/plugins/commands/serve/mappers.rb +++ b/plugins/commands/serve/mappers.rb @@ -12,6 +12,7 @@ module VagrantPlugins Client::SyncedFolder => Vagrant::Plugin::V2::SyncedFolder, SDK::Args::Array => Array, SDK::Args::Direct => Type::Direct, + SDK::Args::Folders => Type::Folders, SDK::Args::Guest => Client::Guest, SDK::Args::Hash => Hash, SDK::Args::Host => Client::Host, @@ -352,6 +353,7 @@ require Vagrant.source_root.join("plugins/commands/serve/mappers/communicator.rb require Vagrant.source_root.join("plugins/commands/serve/mappers/direct.rb").to_s require Vagrant.source_root.join("plugins/commands/serve/mappers/duration.rb").to_s require Vagrant.source_root.join("plugins/commands/serve/mappers/environment.rb").to_s +require Vagrant.source_root.join("plugins/commands/serve/mappers/folders.rb").to_s require Vagrant.source_root.join("plugins/commands/serve/mappers/guest.rb").to_s require Vagrant.source_root.join("plugins/commands/serve/mappers/host.rb").to_s require Vagrant.source_root.join("plugins/commands/serve/mappers/known_types.rb").to_s