backport of commit 0f0c059631

This commit is contained in:
Lucas Bajolet
2024-06-07 18:38:20 +00:00
parent f906cdb453
commit cfe7efff2f
-3
View File
@@ -214,9 +214,6 @@ func (pc *PipeChecker) SetStream(s Stream) *PipeChecker {
}
func (pc PipeChecker) Check(stdout, stderr string, _ error) error {
if len(pc.pipers) == 0 {
return fmt.Errorf("%s - empty pipeline", pc.Name())
}
if pc.check == nil {
return fmt.Errorf("%s - missing tester", pc.Name())
}