Don't fetch missing log parts if test haven't started yet

This commit is contained in:
Piotr Sarnacki 2014-09-12 15:43:43 +02:00
parent 13408d875a
commit 1297c99396

View File

@ -10,7 +10,8 @@ require 'travis/log_chunks'
@setParts()
fetchMissingParts: (partNumbers, after) ->
# TODO: don't download if job is not running and log is finalized
return if @get('notStarted')
data = {}
data['part_numbers'] = partNumbers if partNumbers
data['after'] = after if after