()
| 1568 | }); |
| 1569 | |
| 1570 | function conflict() { |
| 1571 | // The instance already exists - report a conflict |
| 1572 | debug('Detected non-rectified new instance of %s %j', |
| 1573 | Model.modelName, id); |
| 1574 | conflicts.push(change); |
| 1575 | |
| 1576 | const Change = Model.getChangeModel(); |
| 1577 | return Change.rectifyModelChanges(Model.modelName, [id], cb); |
| 1578 | } |
| 1579 | } |
| 1580 | |
| 1581 | function applyDelete(Model, id, current, change, conflicts, options, cb) { |
no outgoing calls
no test coverage detected
searching dependent graphs…