From b5ae4672b7126df687b5815e0d5f1ec77fa0485f Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 9 Dec 2011 13:30:04 -0800 Subject: [PATCH] Raise exception in edge case --- lib/vagrant/action/multistep.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/vagrant/action/multistep.rb b/lib/vagrant/action/multistep.rb index 7ec1a9d3e..3f8bd66c3 100644 --- a/lib/vagrant/action/multistep.rb +++ b/lib/vagrant/action/multistep.rb @@ -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