Skip to content

Commit

Permalink
Do not print console logs when running on Java files
Browse files Browse the repository at this point in the history
Java files should be excluded, but for some reason they show up. This needs to be reproed & investigated
  • Loading branch information
mateuszkwiecinski committed Sep 5, 2023
1 parent a6120fb commit 9a6eb33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ internal abstract class KtlintWorker : WorkAction<KtlintWorker.Parameters> {
logger.debug("$name linting: $relativePath")

if (file.extension !in supportedExtensions) {
logger.warn("$name ignoring non Kotlin file: $relativePath")
logger.info("$name ignoring non-Kotlin file: $relativePath")
return@forEach
}

Expand Down

0 comments on commit 9a6eb33

Please sign in to comment.