From 5d77dd33d8b1761c6b2553189857a56f5cd8f031 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Mon, 19 Feb 2024 09:23:22 +0100 Subject: [PATCH] chore(scanner): Wrap a string differently to avoid a string interpolation Signed-off-by: Sebastian Schuberth --- scanner/src/main/kotlin/Scanner.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scanner/src/main/kotlin/Scanner.kt b/scanner/src/main/kotlin/Scanner.kt index 71b8bf2e4304b..885c1ee74e499 100644 --- a/scanner/src/main/kotlin/Scanner.kt +++ b/scanner/src/main/kotlin/Scanner.kt @@ -709,8 +709,8 @@ class Scanner( pkg.id, Issue( source = "Scanner", - message = "Could not create file archive for " + - "'${pkg.id.toCoordinates()}': ${e.collectMessages()}" + message = "Could not create file archive for '${pkg.id.toCoordinates()}': " + + e.collectMessages() ) ) } finally {