Skip to content

Commit 587b5cc

Browse files
authored
fix(third_party/pkgsite): increase comment size limit (#11877)
1 parent 24c5ae0 commit 587b5cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/pkgsite/print_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ type declVisitor struct {
109109
func (v *declVisitor) Visit(n ast.Node) ast.Visitor {
110110
switch n := n.(type) {
111111
case *ast.BasicLit:
112-
if n.Kind == token.STRING && len(n.Value) > 128 {
112+
if n.Kind == token.STRING && len(n.Value) > 512 {
113113
v.Comments = append(v.Comments,
114114
&ast.CommentGroup{List: []*ast.Comment{{
115115
Slash: n.Pos(),

0 commit comments

Comments
 (0)