nielsenb / fedora-qa / relval

Forked from fedora-qa/relval 2 years ago
Clone

1e3eae7 Improve handling of bugs string with no bugs.

Authored and Committed by nielsenb a year ago
    Improve handling of bugs string with no bugs.
    
    The result of a string split operation is always an array, so the `if
    bugs == ''` conditional would never evaluate to true. This works around
    that with a filter of the split result to remove empty strings and
    changes the conditional to an array length check.
    
        
file modified
+3 -1