Skip to content

Commit 87557dd

Browse files
committed
enable regexpSimplify
On-behalf-of: @SAP [email protected]
1 parent 2ddb8b8 commit 87557dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/cmd/help/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
"k8s.io/component-base/term"
3030
)
3131

32-
var reEmptyLine = regexp.MustCompile(`(?m)([\w[:punct:]])[ ]*\n([\w[:punct:]])`)
32+
var reEmptyLine = regexp.MustCompile(`(?m)([\w[:punct:]]) *\n([\w[:punct:]])`)
3333

3434
func Doc(s string) string {
3535
s = heredoc.Doc(s)

0 commit comments

Comments
 (0)