Remove debugging artifacts

This commit is contained in:
Chris Roberts 2022-02-15 16:36:02 -08:00 committed by Paul Hinze
parent ac8790b694
commit b7f074e492
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0
2 changed files with 1 additions and 3 deletions

View File

@ -156,7 +156,6 @@ module VagrantPlugins
v if value.class.ancestors.include?(k)
end&.last
end
#to = REVERSE_MAPS[value.class] if to.nil?
# If the value given is the desired type, just return the value
return value if value != GENERATE && !to.nil? && value.is_a?(to)

View File

@ -192,9 +192,8 @@ module VagrantPlugins
return mapper.map(machine_state, to: SDK::Args::Target::Machine::State)
end
end
require 'pp'
def action_raw(machine, name, callable, extra_env={})
logger.debug("calling action named #{name} with defined env: #{extra_env.pretty_inspect}")
if !extra_env.is_a?(Hash)
extra_env = {}
end