Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with not some wrong commands (#5266)
There is error on https://detekt.dev/docs/gettingstarted/cli/ page. instead of `curl -sSLO https://github.com/detekt/detekt/releases/download/v1.21.0/detekt-cli-1.21.0.zip unzip detekt-cli-1.21.0.zip ./detekt-cli-1.21.0/bin/detekt-cli --help` it shows 'curl -sSLO https://github.com/detekt/detekt/releases/download/v1.21.0/detekt-cli-[detekt_version].zip unzip detekt-cli-[detekt_version].zip ./detekt-cli-[detekt_version]/bin/detekt-cli --help' command. I suppose this issue is happening because detekt plugin uses 'replace' in node instead of 'replaceAll'. Or I can also suggest to use `do while` instead of `if` block.
- Loading branch information