Skip to content

Commit

Permalink
ci: appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
cfabianski committed Sep 27, 2023
1 parent 6c9db3b commit 2425331
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,6 @@ func (builder *builder) compileNode(node *asttree.Node, isRoot bool, isLastChild
builder.write(" .")
}

log.Error().Msgf("stringBuilder %s", builder.stringBuilder.String())

return nil
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ var _ = Describe("Result", func() {
var result *bytereplacer.Result

BeforeEach(func(ctx SpecContext) {
replacer.Replace(0, 5, []byte("hello"))
replacer.Replace(6, 6, nil)
replacer.Replace(0, 5, []byte("hello")) // nolint:errcheck
replacer.Replace(6, 6, nil) // nolint:errcheck
result = replacer.Done()
})

Expand Down Expand Up @@ -109,9 +109,9 @@ var _ = Describe("Result", func() {
var result *bytereplacer.Result

BeforeEach(func(ctx SpecContext) {
replacer.Replace(0, 5, []byte("hi"))
replacer.Replace(5, 5, []byte("!"))
replacer.Replace(6, 11, []byte("testing123"))
replacer.Replace(0, 5, []byte("hi")) // nolint:errcheck
replacer.Replace(5, 5, []byte("!")) // nolint:errcheck
replacer.Replace(6, 11, []byte("testing123")) // nolint:errcheck
result = replacer.Done()
})

Expand Down

0 comments on commit 2425331

Please sign in to comment.