lib/license_finder/reports/reporter.rb in license_finder-1.0.0.0-java vs lib/license_finder/reports/reporter.rb in license_finder-1.0.0.1

- old
+ new

@@ -9,11 +9,11 @@ write_file artifacts.text_file, TextReport.of(dependencies) write_file artifacts.detailed_text_file, DetailedTextReport.of(dependencies) write_file artifacts.html_file, HtmlReport.of(dependencies) write_file artifacts.markdown_file, MarkdownReport.of(dependencies) - if LicenseFinder.config.artifacts.legacy_text_file.exist? - LicenseFinder.config.artifacts.legacy_text_file.delete + if artifacts.legacy_text_file.exist? + artifacts.legacy_text_file.delete end end private def write_file(file_path, content)