zmunm

    zmunm

    2 years ago
    Hi.. I found a simple typo..https://arturbosch.github.io/detekt/style.html#noncompliant-code-39
    a?.let { 1.plus(1) } // can be replaced with `if (a == null) 1.plus(1)`
    to
    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

    Brais Gabin

    2 years ago
    Next time it’s better if you can open an issue (or just create the PR)
    zmunm

    zmunm

    2 years ago
    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

    Brais Gabin

    2 years ago
    Looking forward to it 😃