mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #101523 from GreenApple10/feature/cleanslice_nil
Omit comparison with boolean constant
This commit is contained in:
commit
6c658a86f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user