Skip to content

Commit 7193d4d

Browse files
authored
fix: remove Lint.IfChange comments from generated files (#322)
1 parent 6474ac4 commit 7193d4d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/protocol-dts-generator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ const emitDomain = (domain: P.Domain) => {
110110
const getCommentLines = (description: string) => {
111111
const lines = description
112112
.split(/\r?\n/g)
113+
.filter(line => !line.startsWith('LINT.'))
113114
.map(line => ` * ${line}`)
114115
return [`/**`, ...lines, ` */`]
115116
}

0 commit comments

Comments
 (0)