We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6281db commit 09b9b87Copy full SHA for 09b9b87
cmd/generate/cleaner.go
@@ -33,7 +33,6 @@ func SplitLines(text string) []string {
33
34
// Unbracket removes leading and trailing square brackets.
35
func Unbracket(text string) string {
36
- // Remove leading and trailing square brackets
37
if strings.HasPrefix(text, "[") && strings.HasSuffix(text, "]") {
38
text = strings.TrimPrefix(text, "[")
39
text = strings.TrimSuffix(text, "]")
0 commit comments