diff --git a/lib/simple_cov_lcov/configuration.rb b/lib/simple_cov_lcov/configuration.rb index fc6eb0b..2b3cfe7 100644 --- a/lib/simple_cov_lcov/configuration.rb +++ b/lib/simple_cov_lcov/configuration.rb @@ -18,7 +18,7 @@ def single_report_path=(new_path) end def single_report_path - @single_report_path || File.join(output_directory, lcov_file_name) + @single_report_path ||= File.join(output_directory, lcov_file_name) end def lcov_file_name