https://kotlinlang.org logo
#detekt
Title
g

Gouri Panda

06/14/2022, 3:01 PM
Hi there! After changing some code in
detekt
repo, i can’t see the new result in terminals. Is there something missing that i need to do before i see the new result? Thanks!
b

Brais Gabin

06/14/2022, 4:12 PM
What is the new result? Did you try with gradlew --stop?
g

Gouri Panda

06/14/2022, 4:15 PM
I was working with this . I changed some code but i didn’t get any new result. Same error. I even try to change issue messages but result was same.
b

Brais Gabin

06/14/2022, 4:16 PM
What is a new result?
g

Gouri Panda

06/14/2022, 4:18 PM
same error before changed code i.e
UnnecessaryAbstractClass
b

Brais Gabin

06/14/2022, 4:20 PM
If you was getting an error, you fixed something, and now you don't get that error it means that you fixed, right?
g

Gouri Panda

06/14/2022, 4:24 PM
The result is not important i changed some message but i didn’t get new messages.The new code didn’t applied. Maybe i forgot to build something :)
b

Brais Gabin

06/14/2022, 4:25 PM
How do you get the error?
./gradlew --stop
I think that what you are looking for
But for something like this you should test it with unit tesys
g

Gouri Panda

06/14/2022, 4:32 PM
I added some code and then i checked with
./gradlew detekt
. As i expected i got
UnnecessaryAbstractClass
error . Then i changed some code to fix this then i tried again with this command but the error result was same . Then i changed some issue description to let me know that
detekt
is running new version of code. but i didn’t get any new issue description, it was the same issue description. I hope my mongo jombo descriptions make sense 🙂 Let me know if it makes sense?
b

Brais Gabin

06/14/2022, 4:34 PM
OK. Then the command that I told before will fix your issue. But I recommend you to write those things as a unit test. You will need to add those to the pr of you want it to be merged.
👍 1
5 Views