(reason)
| 58 | */ |
| 59 | call(driverKey, distance, order) { |
| 60 | const fail = (reason) => { |
| 61 | log.debug(`skip notifying ${driverKey} because ${reason}`); |
| 62 | this.failCallback(reason); |
| 63 | return; |
| 64 | }; |
| 65 | |
| 66 | if (order.state.status !== 'new') { |
| 67 | fail('order is not new'); |
no test coverage detected