mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-02-06 17:57:05 +00:00
chore: enable some more linters (#16)
This commit is contained in:
parent
f0eed8cc56
commit
d5fd606577
7 changed files with 48 additions and 18 deletions
|
|
@ -331,7 +331,7 @@ func (r *Renderer) renderFencedCodeBlock(w util.BufWriter, source []byte, node a
|
|||
return ast.WalkStop, fmt.Errorf(": %w", err)
|
||||
}
|
||||
if err := r.writeByte(w, '\n'); err != nil {
|
||||
return ast.WalkStop, nil
|
||||
return ast.WalkStop, fmt.Errorf(": %w", err)
|
||||
}
|
||||
|
||||
// Write the contents of the fenced code block.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue