From f9d11246cdd0f3c2ea140cfc82a32cb5d4a45852 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Wed, 6 Dec 2023 21:56:01 +0100 Subject: [PATCH] chore(reporters): Improve log wording about the generated (temporary) file A generated file is clearly an output, so drop that word, also as the file might not be the final output, but only temporary output which is further processed into the final report. Signed-off-by: Sebastian Schuberth --- .../freemarker/src/main/kotlin/FreemarkerTemplateProcessor.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/reporters/freemarker/src/main/kotlin/FreemarkerTemplateProcessor.kt b/plugins/reporters/freemarker/src/main/kotlin/FreemarkerTemplateProcessor.kt index 544c7d0b78e7d..5402b57379acb 100644 --- a/plugins/reporters/freemarker/src/main/kotlin/FreemarkerTemplateProcessor.kt +++ b/plugins/reporters/freemarker/src/main/kotlin/FreemarkerTemplateProcessor.kt @@ -120,7 +120,7 @@ class FreemarkerTemplateProcessor( templateIds.forEach { id -> val outputFile = outputDir.resolve("$filePrefix$id$fileExtensionWithDot") - logger.info { "Generating output file '$outputFile' using template id '$id'." } + logger.info { "Generating file '$outputFile' using template id '$id'." } val template = freemarkerConfig.getTemplate("$id.ftl") outputFile.writer().use { template.process(dataModel, it) } @@ -131,7 +131,7 @@ class FreemarkerTemplateProcessor( templateFiles.forEach { file -> val outputFile = outputDir.resolve("$filePrefix${file.nameWithoutExtension}$fileExtensionWithDot") - logger.info { "Generating output file '$outputFile' using template file '${file.absolutePath}'." } + logger.info { "Generating file '$outputFile' using template file '${file.absolutePath}'." } val template = freemarkerConfig.run { setDirectoryForTemplateLoading(file.parentFile)