lib/snapshot/runner.rb in snapshot-1.11.0 vs lib/snapshot/runner.rb in snapshot-1.11.1

- old
+ new

@@ -217,11 +217,12 @@ end end def clear_previous_screenshots UI.important "Clearing previously generated screenshots" - path = File.join(".", Snapshot.config[:output_directory], "*", "*.png") + path = File.join(Snapshot.config[:output_directory], "*", "*.png") Dir[path].each do |current| + UI.verbose "Deleting #{current}" File.delete(current) end end def version_of_bundled_helper