Raise exception in edge case
This commit is contained in:
parent
2c73de0043
commit
b5ae4672b7
|
@ -135,6 +135,8 @@ module Vagrant
|
||||||
elsif from.kind_of?(StepOutput)
|
elsif from.kind_of?(StepOutput)
|
||||||
# Step outputs get their data from a previous step's output.
|
# Step outputs get their data from a previous step's output.
|
||||||
inputs[to] = step_outputs[from.name][from.variable]
|
inputs[to] = step_outputs[from.name][from.variable]
|
||||||
|
else
|
||||||
|
raise ArgumentError, "Unknown type of remapping."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue