From bd7271eb61457760a20c0fa3ac58990b6e4ad53f Mon Sep 17 00:00:00 2001 From: Alexey Tsvetkov <654232+AlexeyTsvetkov@users.noreply.github.com> Date: Thu, 15 Aug 2024 18:02:02 +0200 Subject: [PATCH] Remove debug println from ExtendedJsonReportRenderer There is a debug session leftover `println` in ExtendedJsonReportRenderer. The author says that this println statement was not intended to be used in production, it just slipped through review. The logging always renders the full text of all licenses every time `generateLicenseReport` task runs, which makes it very noisy. --- .../github/jk1/license/render/ExtendedJsonReportRenderer.groovy | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/groovy/com/github/jk1/license/render/ExtendedJsonReportRenderer.groovy b/src/main/groovy/com/github/jk1/license/render/ExtendedJsonReportRenderer.groovy index c114a162..ea5dd485 100644 --- a/src/main/groovy/com/github/jk1/license/render/ExtendedJsonReportRenderer.groovy +++ b/src/main/groovy/com/github/jk1/license/render/ExtendedJsonReportRenderer.groovy @@ -136,7 +136,6 @@ class ExtendedJsonReportRenderer implements ReportRenderer { licenseFile.fileDetails.file.collect({ new File("$config.absoluteOutputDir/$it").text }) }) - println(embeddedLicensesList) trimAndRemoveNullEntries([moduleName : moduleName, moduleUrl : moduleUrl, moduleVersion : moduleVersion,