lib/warp/dir/command/clean.rb in warp-dir-1.6.2 vs lib/warp/dir/command/clean.rb in warp-dir-1.7.0
- old
+ new
@@ -8,10 +8,10 @@
def run(*)
removed = store.clean!
s = self.store
if removed.empty?
on :success do
- message 'All entries are valid in your file ' + s.config.warprc.blue + ' are ' + 'valid.'.green
+ message "All entries are valid in your file #{s.config.warprc.blue} are #{'valid.'.green}"
end
else
on :success do
message "The following no-longer existing points have been removed:\n\n".bold +
::Warp::Dir::Formatter::StoreFormatter.new(removed).format.bold.red