Skip to content

Commit f27b85b

Browse files
committed
fix scopelint issues
1 parent eda0033 commit f27b85b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/cmd/gtrace/writer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,9 @@ func (w *Writer) composeHookCall(fn *Func, h1, h2 string) {
405405
w.line("if " + h + " != nil {")
406406
w.block(func() {
407407
if fn.HasResult() {
408-
w.code(rs[i], ` = `)
408+
w.code(rs[i], ` = `) //nolint:scopelint
409409
}
410-
w.code(h)
410+
w.code(h) //nolint:scopelint
411411
w.call(args)
412412
})
413413
w.line("}")

0 commit comments

Comments
 (0)