Merge pull request #101523 from GreenApple10/feature/cleanslice_nil

Omit comparison with boolean constant
This commit is contained in:
Kubernetes Prow Robot
2021-05-07 03:37:03 -07:00
committed by GitHub

View File

@@ -122,7 +122,7 @@ func shouldStartNewLine(lastWord, str string) bool {
return true
}
// preserve lines that look like they're starting lists
if bullet.MatchString(str) == true {
if bullet.MatchString(str) {
return true
}
// otherwise combine