Skip to content
  • Z.J. van de Weg's avatar
    Return nil as coverage instead of a File object · 23fbbe0c
    Z.J. van de Weg authored
    Given a valid pipeline job, and a regex which wouldn't match to a jobs
    trace, the stream of the trace would return the File object. This was
    not the case when it matched a value, as that would have been return
    from the block.
    
    Now the `extract_coverage` method returns `nil` if no match was found.
    23fbbe0c