From cf2e123de373d965587a94fabbdc6e4d9de23f68 Mon Sep 17 00:00:00 2001 From: Marcin Mielnicki Date: Wed, 1 Nov 2023 13:45:43 +0100 Subject: [PATCH] Remove extra file creation --- .../tests_execution_chart/reporters/SingleFileReportWriter.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/tests-execution-chart-commons/src/main/kotlin/io/github/platan/tests_execution_chart/reporters/SingleFileReportWriter.kt b/tests-execution-chart-commons/src/main/kotlin/io/github/platan/tests_execution_chart/reporters/SingleFileReportWriter.kt index ab612f9..3f975b3 100644 --- a/tests-execution-chart-commons/src/main/kotlin/io/github/platan/tests_execution_chart/reporters/SingleFileReportWriter.kt +++ b/tests-execution-chart-commons/src/main/kotlin/io/github/platan/tests_execution_chart/reporters/SingleFileReportWriter.kt @@ -13,7 +13,6 @@ class SingleFileReportWriter { ): File { val reportsDir = prepareReportsDir(baseDir, location) val reportFile = File(reportsDir, "$taskName.$extension") - reportFile.createNewFile() reportFile.writeText(report) return reportFile }