Raise exception in edge case

This commit is contained in:
Mitchell Hashimoto 2011-12-09 13:30:04 -08:00
parent 2c73de0043
commit b5ae4672b7
1 changed files with 2 additions and 0 deletions

View File

@ -135,6 +135,8 @@ module Vagrant
elsif from.kind_of?(StepOutput)
# Step outputs get their data from a previous step's output.
inputs[to] = step_outputs[from.name][from.variable]
else
raise ArgumentError, "Unknown type of remapping."
end
end