(inIdProp, outIdProp, firstPass = true)
| 857 | const cbOut = []; |
| 858 | |
| 859 | function addInputToMulti(inIdProp, outIdProp, firstPass = true) { |
| 860 | if (!config.validate_callbacks) return; |
| 861 | multiGraph.addNode(inIdProp); |
| 862 | multiGraph.addDependency(inIdProp, outIdProp); |
| 863 | // only store callback inputs and outputs during the first pass |
| 864 | if (firstPass) { |
| 865 | cbIn[cbIn.length - 1].push(inIdProp); |
| 866 | cbOut[cbOut.length - 1].push(outIdProp); |
| 867 | } |
| 868 | } |
| 869 | |
| 870 | parsedDependencies.forEach(dependency => { |
| 871 | const {outputs, inputs} = dependency; |
no test coverage detected
searching dependent graphs…