Fix fold expansion when script exits before fold finishes

This commit is contained in:
Piotr Sarnacki 2013-02-13 03:30:17 +01:00
parent c72837f70e
commit c1674e9d76

View File

@ -75,7 +75,7 @@ FOLDS = [
@initial = false
if payload.foldContinuation && payload.content.match(/Done. Build script exited with:/)
if payload.foldContinuation && payload.content.match(/Done. Build script exited/)
# script ended, but fold is still closed, which most probably means
# error, end the fold and open it.
# TODO: we need log marks to make it easier