Fix indentation.
This commit is contained in:
parent
ec0302644f
commit
f6f35f3e49
@ -328,10 +328,12 @@ module.exports = (refsToUUIDs) ->
|
|||||||
# TODO: do not use enter/exit, use "update" instead!
|
# TODO: do not use enter/exit, use "update" instead!
|
||||||
enter: (task) ->
|
enter: (task) ->
|
||||||
# TODO: better way to discard useless tasks
|
# TODO: better way to discard useless tasks
|
||||||
if task.$container is @key and
|
if (
|
||||||
|
task.$container is @key and
|
||||||
task.status is 'pending' and
|
task.status is 'pending' and
|
||||||
task.name_label not in ['SR.scan', 'Dumping database as XML']
|
task.name_label not in ['SR.scan', 'Dumping database as XML'] and
|
||||||
and task.UUID not in @field # if existing UUID, but update will solve that
|
task.UUID not in @field # if existing UUID, but update will solve that
|
||||||
|
)
|
||||||
@field.push task.UUID
|
@field.push task.UUID
|
||||||
# TODO: use update instead
|
# TODO: use update instead
|
||||||
exit: (task) ->
|
exit: (task) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user