Skip to content

Commit a0f079c

Browse files
fix(gen): fix description trimmer
1 parent 484f2da commit a0f079c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/gen/schema.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,6 @@ func isDeprecated(opts protoreflect.ProtoMessage) bool {
272272

273273
func mkDescription(description string) (d string) {
274274
d = strings.TrimSpace(description)
275-
d = strings.TrimLeft(d, "// ")
275+
d = strings.TrimLeft(d, "/ ")
276276
return d
277277
}

0 commit comments

Comments
 (0)