commands/plugin: error if uninstall non-existent plugin

This commit is contained in:
Mitchell Hashimoto 2014-01-05 16:03:00 -08:00
parent e1c9431085
commit 8823f43f3a
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ module VagrantPlugins
# This middleware sequence will uninstall a plugin. # This middleware sequence will uninstall a plugin.
def self.action_uninstall def self.action_uninstall
Vagrant::Action::Builder.new.tap do |b| Vagrant::Action::Builder.new.tap do |b|
b.use PluginExistsCheck
b.use UninstallPlugin b.use UninstallPlugin
end end
end end