commands/plugin: error if uninstall non-existent plugin
This commit is contained in:
parent
e1c9431085
commit
8823f43f3a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue