From 59eae979e6ea0a43a886671276828b3dedcc2ba0 Mon Sep 17 00:00:00 2001 From: Marius Albrecht Date: Tue, 18 Jun 2024 17:35:21 +0200 Subject: [PATCH] print location of report in Reporter --- .../src/main/kotlin/de/fraunhofer/aisec/cpg/query/Reporter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpg-analysis/src/main/kotlin/de/fraunhofer/aisec/cpg/query/Reporter.kt b/cpg-analysis/src/main/kotlin/de/fraunhofer/aisec/cpg/query/Reporter.kt index 16da42e81d..678ebb1898 100644 --- a/cpg-analysis/src/main/kotlin/de/fraunhofer/aisec/cpg/query/Reporter.kt +++ b/cpg-analysis/src/main/kotlin/de/fraunhofer/aisec/cpg/query/Reporter.kt @@ -58,7 +58,7 @@ interface Reporter { * @param path the path to write the report to. If unspecified, the default path is used */ fun toFile(report: String, path: Path = getDefaultPath()) { - print("writing report to ${path.toAbsolutePath()}") + println("writing report to ${path.toAbsolutePath()}") // TODO: actual logging path.parent.createDirectories() // create parent directories if they don't exist path.writeText(report) }