lib/snuffle/formatters/base.rb in snuffle-0.12.1 vs lib/snuffle/formatters/base.rb in snuffle-0.12.2
- old
+ new
@@ -29,10 +29,10 @@
def output_path
return @output_path if @output_path
path = root_path
path << "/" + summary.path_to_results if summary
FileUtils.mkpath(path)
- @output_path = root_path
+ @output_path = path
end
def path_to_results
"#{output_path}/#{filename}"
end
\ No newline at end of file