Skip to content

Commit

Permalink
Upgraded kotlin-parent from 3.2.0 to 3.3.0 (#487)
Browse files Browse the repository at this point in the history
Bumps [kotlin-parent](https://github.com/gantsign/maven-parent-poms) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/gantsign/maven-parent-poms/releases)
- [Commits](gantsign/maven-parent-poms@3.2.0...3.3.0)

---
updated-dependencies:
- dependency-name: com.github.gantsign.parent:kotlin-parent
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John Freeman <john.freeman.opensource@gmail.com>
  • Loading branch information
dependabot[bot] and freemanjp committed Aug 14, 2022
1 parent a5fbfea commit 043f91a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
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

0 comments on commit 043f91a

Please sign in to comment.