lib/nanoc/cli/cleaning_stream.rb in nanoc-4.1.0rc2 vs lib/nanoc/cli/cleaning_stream.rb in nanoc-4.1.0
- old
+ new
@@ -138,10 +138,10 @@
end
protected
def _nanoc_clean(s)
- @stream_cleaners.reduce(s) { |a, e| e.clean(a) }
+ @stream_cleaners.reduce(s.to_s) { |a, e| e.clean(a) }
end
def _nanoc_swallow_broken_pipe_errors_while
yield
rescue Errno::EPIPE