Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
weblate committed Dec 24, 2024
2 parents 3e73934 + 541541b commit a6f1dae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions provider/pipeline/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ func (p *Pipeline) Process(in []byte) ([]byte, error) {
}

if p.jq != nil {
// TODO make this optional
if len(bytes.TrimSpace(b)) == 0 {
return b, nil
}
v, err := jq.Query(p.jq, b)
if err != nil {
return b, backoff.Permanent(err)
Expand Down

0 comments on commit a6f1dae

Please sign in to comment.