From dc05ae824d6f2852eb4e1253f38b934d819d60fb Mon Sep 17 00:00:00 2001 From: Marcin Mielnicki Date: Sun, 22 Sep 2024 07:55:14 +0200 Subject: [PATCH] Migrate to clikt 5.0 --- .../platan/tests_execution_chart/JsonToHtmlReportApp.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/functionalTest/kotlin/io/github/platan/tests_execution_chart/JsonToHtmlReportApp.kt b/src/functionalTest/kotlin/io/github/platan/tests_execution_chart/JsonToHtmlReportApp.kt index e4c108e..41279f3 100644 --- a/src/functionalTest/kotlin/io/github/platan/tests_execution_chart/JsonToHtmlReportApp.kt +++ b/src/functionalTest/kotlin/io/github/platan/tests_execution_chart/JsonToHtmlReportApp.kt @@ -3,6 +3,7 @@ package io.github.platan.tests_execution_chart import com.github.ajalt.clikt.core.CliktCommand +import com.github.ajalt.clikt.core.main import com.github.ajalt.clikt.parameters.options.default import com.github.ajalt.clikt.parameters.options.option import com.github.ajalt.clikt.parameters.options.required @@ -60,5 +61,10 @@ fun main(args: Array) { ReportConfig.Marks(), false, ) - ReportCreator(logger).createReports(report, reportConfig, File(commandLineParser.outputDir), commandLineParser.taskName) + ReportCreator(logger).createReports( + report, + reportConfig, + File(commandLineParser.outputDir), + commandLineParser.taskName + ) }