(finishedJob: Job)
| 175 | }; |
| 176 | |
| 177 | const finishJob = (finishedJob: Job): void => { |
| 178 | if (isSettled() || isCancelled()) { |
| 179 | return; |
| 180 | } |
| 181 | |
| 182 | stopWaiting(); |
| 183 | void finishCompletedJob(finishedJob, argv, spinner, logger, downloadFile).then(resolve, reject); |
| 184 | }; |
| 185 | |
| 186 | const failJob = (failedJob?: Job): void => { |
| 187 | if (isSettled() || isCancelled()) { |
nothing calls this directly
no test coverage detected