Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump kotlin-parent from 3.2.0 to 3.3.0 #487

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -30,7 +30,7 @@
<parent>
<groupId>com.github.gantsign.parent</groupId>
<artifactId>kotlin-parent</artifactId>
<version>3.2.0</version>
<version>3.3.0</version>
<relativePath/>
</parent>

Expand Down
Expand Up @@ -73,7 +73,6 @@ class MavenLogReporter(
log.error(MessageUtils.buffer().a(file.dir()).strong(file.name()).toString())

for ((line, col, ruleId, detail) in errList) {

val buf = MessageUtils.buffer()
.a(" ")
.strong(line)
Expand Down
Expand Up @@ -122,9 +122,9 @@ internal abstract class AbstractCheckSupport(
} ?: System.out

val reporter =
if (reporterProvider is MavenLogReporterProvider)
if (reporterProvider is MavenLogReporterProvider) {
reporterProvider.get(log, config)
else reporterProvider.get(stream, config)
} else reporterProvider.get(stream, config)

if (output == null) {
return reporter
Expand Down
Expand Up @@ -23,6 +23,8 @@
* THE SOFTWARE.
* #L%
*/
@file:Suppress("ktlint:filename")

package com.github.gantsign.maven.plugin.ktlint.internal

import java.util.ResourceBundle
Expand Down
Expand Up @@ -94,7 +94,6 @@ internal class KtlintReportGenerator(
results.errors.groupBy(FileLintError::file).toSortedMap()

if (errorsByFile.isNotEmpty()) {

section(1) {
title {
+bundle["report.ktlint.files"]
Expand Down