You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the gradle plugin, it seems that the line number is invalid for some TrailingWhitespace error but it works as expected when executing the jar (it returns the proper line).
When using gradle, I'm expecting line 6 to be reported, similar to when using the jar.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics.
lockbot
locked as resolved and limited conversation to collaborators
Jun 20, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected Behavior
When using the gradle plugin, it seems that the line number is invalid for some TrailingWhitespace error but it works as expected when executing the jar (it returns the proper line).
When using gradle, I'm expecting line 6 to be reported, similar to when using the jar.
Current Behavior
But instead, line 3 is reported:
Steps to Reproduce (for bugs)
Use this file:
java -jar detekt-cli-1.0.0.RC8-all.jar -i test.kt
-> line 6 is reported (OK)./gradlew detektCheck
-> line 3 is reported (NOK)Your Environment
The text was updated successfully, but these errors were encountered: