(err)
| 84 | return this; |
| 85 | |
| 86 | function doneIfAllDone(err) { |
| 87 | if (err) { |
| 88 | log.error('!'.red, 'task failed', err); |
| 89 | } |
| 90 | |
| 91 | if (!orchestrator.isRunning && done) { |
| 92 | done(err); |
| 93 | } |
| 94 | } |
| 95 | }, |
| 96 | on: function() { |
| 97 | orchestrator.on.apply(orchestrator,arguments); |