From 58568b06fa2bf4b23493adae6cc908e11dbe065b Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 7 Feb 2022 14:21:14 -0800 Subject: [PATCH] Define expected type with name --- .../commands/serve/service/communicator_service.rb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/plugins/commands/serve/service/communicator_service.rb b/plugins/commands/serve/service/communicator_service.rb index 7890fa4ff..b098a2652 100644 --- a/plugins/commands/serve/service/communicator_service.rb +++ b/plugins/commands/serve/service/communicator_service.rb @@ -101,10 +101,13 @@ module VagrantPlugins name: "", ), SDK::FuncSpec::Value.new( - name: "source" + name: "source", + type: "hashicorp.vagrant.sdk.Args.Path" + ), SDK::FuncSpec::Value.new( - name: "destination" + name: "destination", + type: "hashicorp.vagrant.sdk.Args.Path" ), ], result: [] @@ -141,10 +144,12 @@ module VagrantPlugins name: "", ), SDK::FuncSpec::Value.new( - name: "source" + name: "source", + type: "hashicorp.vagrant.sdk.Args.Path" ), SDK::FuncSpec::Value.new( - name: "destination" + name: "destination", + type: "hashicorp.vagrant.sdk.Args.Path" ), ], result: []