Hi folks! How is that if I run `detekt` Gradle tas...
# detekt
j
Hi folks! How is that if I run
detekt
Gradle task directly, it prints output with proper colors, but when run via
check
task, I get something like:
Copy code
> Task :detekt FAILED
formatting - 5min debt
	[33mNoConsecutiveBlankLines - [] at /Users/hsz/Projects/JetBrains/intellij-plugin-template/src/main/kotlin/org/jetbrains/plugins/template/services/MyProjectService.kt:3:1[0m
Overall debt: 5min
g
That's really odd 🤔 don't you mind opening an issue?
j
@gammax will do! However, I've checked one more thing - that issue happens only within the IJ console for
:check
task. When I run it directly via CLI, terminal renders colors properly.
Kind of extra task ouptut escaping performed by the IDE?
check
task run on CI (GitHub Actions) renders colors properly too: https://github.com/JetBrains/idea-gitignore/runs/1431514642?check_suite_focus=true
g
Thanks for following up @Jakub Chrzanowski
🙌 1