lib/propshaft/processor.rb in propshaft-0.8.0 vs lib/propshaft/processor.rb in propshaft-0.9.1
- old
+ new
@@ -18,11 +18,11 @@
def clobber
FileUtils.rm_r(output_path) if File.exist?(output_path)
end
- def clean
- Propshaft::OutputPath.new(output_path, load_path.manifest).clean(2, 1.hour)
+ def clean(count)
+ Propshaft::OutputPath.new(output_path, load_path.manifest).clean(count, 1.hour)
end
private
def ensure_output_path_exists
FileUtils.mkdir_p output_path