diff --git a/assets/scripts/lib/travis/log.coffee b/assets/scripts/lib/travis/log.coffee index bdf2db30..a9f87c89 100644 --- a/assets/scripts/lib/travis/log.coffee +++ b/assets/scripts/lib/travis/log.coffee @@ -69,9 +69,10 @@ FOLDS = [ else if @get 'newline' @set 'newline', false else if !@initial - @initial = false payload.append = true + @initial = false + if payload.foldContinuation && payload.content.match(/Done. Build script exited with:/) # script ended, but fold is still closed, which most probably means # error, end the fold and open it.