mirror of
https://github.com/peco/peco.git
synced 2026-09-10 07:16:29 -04:00
propagate out.Send error in external filter
This commit is contained in:
parent
e4e92ad5ac
commit
deb12acf59
|
|
@ -199,7 +199,7 @@ func (ecf *ExternalCmd) Apply(ctx context.Context, buf []line.Line, out pipeline
|
|||
return nil
|
||||
}
|
||||
if err := out.Send(ctx, l); err != nil {
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue