Skip to content

Commit f45342e

Browse files
committed
fix: lint
1 parent 6882bd7 commit f45342e

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

experimental/analyzer/renderer_markdown.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,8 +612,8 @@ func (r *MarkdownRenderer) renderTemplate(tmpl *template.Template, data interfac
612612
if !strings.HasSuffix(out, "\n\n") { // assuming double newline means intentional spacing
613613
out = strings.TrimSuffix(out, "\n")
614614
}
615-
return out
616615

616+
return out
617617
}
618618

619619
// isSimpleValue determines if a string represents a simple value that should be displayed without backticks.

experimental/analyzer/renderer_text.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ func (r *TextRenderer) RenderDecodedCall(d *DecodedCall, ctx *FieldContext) stri
135135
}
136136
out := buf.String()
137137
out = strings.TrimSuffix(out, "\n")
138+
138139
return out
139140
}
140141

@@ -162,6 +163,7 @@ func (r *TextRenderer) RenderProposal(rep *ProposalReport, ctx *FieldContext) st
162163
if !strings.HasSuffix(out, "\n\n") { // assuming double newline means intentional spacing
163164
out = strings.TrimSuffix(out, "\n")
164165
}
166+
165167
return out
166168
}
167169

@@ -198,6 +200,7 @@ func (r *TextRenderer) RenderTimelockProposal(rep *ProposalReport, ctx *FieldCon
198200
if !strings.HasSuffix(out, "\n\n") { // assuming double newline means intentional spacing
199201
out = strings.TrimSuffix(out, "\n")
200202
}
203+
201204
return out
202205
}
203206

@@ -301,5 +304,6 @@ func (r *TextRenderer) renderFieldValue(field FieldValue) string {
301304
if !strings.HasSuffix(out, "\n\n") { // assuming double newline means intentional spacing
302305
out = strings.TrimSuffix(out, "\n")
303306
}
307+
304308
return out
305309
}

0 commit comments

Comments
 (0)