lib/veewee/command/vagrant/undefine.rb in veewee-0.3.0.alpha6 vs lib/veewee/command/vagrant/undefine.rb in veewee-0.3.0.alpha7
- old
+ new
@@ -26,12 +26,12 @@
begin
venv=Veewee::Environment.new(options)
venv.ui=@env.ui
definition_name=argv[0]
venv.definitions.undefine(definition_name,options)
- venv.ui.info "Definitio '#{definition_name}' succesfully removed"
+ venv.ui.info("Definition '#{definition_name}' succesfully removed",:prefix => false)
rescue Veewee::Error => ex
- venv.ui.error ex
+ venv.ui.error(ex,:prefix => false)
exit -1
end
end
end