(log)
| 115 | } |
| 116 | |
| 117 | function getFullStatus(log) { |
| 118 | if (!isNull(log.exitCode) && !isNull(log.status)) { |
| 119 | return log.status + ' (' + log.exitCode + ')' |
| 120 | } else if (!isNull(log.status)) { |
| 121 | return log.status; |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | function findById(executions, id) { |
| 126 | return executions.find(execution => execution.id === id) |
no test coverage detected