lib/fukuzatsu/formatters/base.rb in fukuzatsu-2.2.1 vs lib/fukuzatsu/formatters/base.rb in fukuzatsu-2.2.2

- old
+ new

@@ -55,9 +55,10 @@ def reset_output_directory(base_output_path) directory = new(base_output_path: base_output_path).output_directory begin FileUtils.remove_dir(directory) rescue Errno::ENOENT + rescue Errno::ENOTDIR end FileUtils.mkpath(directory) end def writes_to_file_system?