mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +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
|
return true
|
||||||
}
|
}
|
||||||
// preserve lines that look like they're starting lists
|
// preserve lines that look like they're starting lists
|
||||||
if bullet.MatchString(str) == true {
|
if bullet.MatchString(str) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
// otherwise combine
|
// otherwise combine
|
||||||
|
Loading…
Reference in New Issue
Block a user