lib/nanoc/tasks/clean.rb in nanoc-3.7.4 vs lib/nanoc/tasks/clean.rb in nanoc-3.7.5

- old
+ new

@@ -1,11 +1,9 @@ # encoding: utf-8 module Nanoc::Tasks - class Clean - def initialize(site) @site = site end def run @@ -16,14 +14,10 @@ private def filenames @site.items.map do |item| - item.reps.map do |rep| - rep.raw_path - end + item.reps.map(&:raw_path) end.flatten end - end - end