From 8823f43f3a48a425d21184a0faf82d835b691a9a Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 5 Jan 2014 16:03:00 -0800 Subject: [PATCH] commands/plugin: error if uninstall non-existent plugin --- plugins/commands/plugin/action.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/commands/plugin/action.rb b/plugins/commands/plugin/action.rb index 2d0024915..04cfa5c9c 100644 --- a/plugins/commands/plugin/action.rb +++ b/plugins/commands/plugin/action.rb @@ -29,6 +29,7 @@ module VagrantPlugins # This middleware sequence will uninstall a plugin. def self.action_uninstall Vagrant::Action::Builder.new.tap do |b| + b.use PluginExistsCheck b.use UninstallPlugin end end