lib/teapot/command/clean.rb in teapot-3.0.0 vs lib/teapot/command/clean.rb in teapot-3.1.0

- old
+ new

@@ -23,18 +23,18 @@ module Teapot module Command class Clean < Samovar::Command self.description = "Delete everything in the teapot directory." - def invoke(parent) + def invoke context = parent.context logger = parent.logger configuration = context.configuration - logger.info "Removing #{configuration.platforms_path}...".color(:cyan) - FileUtils.rm_rf configuration.platforms_path + logger.info "Removing #{configuration.build_path}..." + FileUtils.rm_rf configuration.build_path - logger.info "Removing #{configuration.packages_path}...".color(:cyan) + logger.info "Removing #{configuration.packages_path}..." FileUtils.rm_rf configuration.packages_path end end end end