Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yuin committed Oct 12, 2024
1 parent 14d91f9 commit 15000ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ast/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func (b *BaseBlock) SetLines(v *textm.Segments) {
b.lines = v
}

// Text implements Node.Text.
func (b *BaseBlock) Text(source []byte) []byte {
var buf bytes.Buffer
for _, line := range b.Lines().Sliced(0, b.Lines().Len()) {
Expand Down

0 comments on commit 15000ac

Please sign in to comment.