Fix small problem with duplicated first log line

This commit is contained in:
Piotr Sarnacki 2012-12-05 01:14:25 +01:00
parent b718c3aa2b
commit e431e30420

View File

@ -9,6 +9,7 @@ FOLDS = [
init: -> init: ->
@set 'folds', [] @set 'folds', []
@set 'line', 1 @set 'line', 1
@initial = true
for fold in FOLDS for fold in FOLDS
@addFold fold @addFold fold
@ -67,7 +68,8 @@ FOLDS = [
payload.replace = true payload.replace = true
else if @get 'newline' else if @get 'newline'
@set 'newline', false @set 'newline', false
else if payload.number != 1 else if !@initial
@initial = false
payload.append = true payload.append = true
if payload.foldContinuation && payload.content.match(/Done. Build script exited with:/) if payload.foldContinuation && payload.content.match(/Done. Build script exited with:/)