Hi.. I found a simple typo.. <https://arturbosch.g...
# detekt
z
Hi.. I found a simple typo.. https://arturbosch.github.io/detekt/style.html#noncompliant-code-39
Copy code
a?.let { 1.plus(1) } // can be replaced with `if (a == null) 1.plus(1)`
to
Copy code
a?:let { 1.plus(1) } // can be replaced with `if (a == null) 1.plus(1)`
a?.let { 1.plus(1) } // can be replaced with `if (a != null) 1.plus(1)`
b
👍 1
Next time it’s better if you can open an issue (or just create the PR)
z
Thank you. I wasn't confident in open the PR, but it seemed too simple to post as an issue. I'll try next time 😄
b
Looking forward to it :)