lib/nanoc/cli/cleaning_stream.rb in nanoc-4.7.7 vs lib/nanoc/cli/cleaning_stream.rb in nanoc-4.7.8

- old
+ new

@@ -145,10 +145,10 @@ # rubocop:enable Style/AccessorMethodName protected def _nanoc_clean(s) - @stream_cleaners.reduce(s.to_s) { |acc, elem| elem.clean(acc) } + @stream_cleaners.reduce(s.to_s.scrub) { |acc, elem| elem.clean(acc) } end def _nanoc_swallow_broken_pipe_errors_while yield rescue Errno::EPIPE