* @param {ModuleId[]} a target set * @param {ModuleId[]} b items to add * @returns {void}
(a, b)
| 198 | * @returns {void} |
| 199 | */ |
| 200 | function addAllToSet(a, b) { |
| 201 | for (var i = 0; i < b.length; i++) { |
| 202 | var item = b[i]; |
| 203 | if (a.indexOf(item) === -1) a.push(item); |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | // at begin all updates modules are outdated |
| 208 | // the "outdated" status can propagate to parents if they don't accept the children |
no test coverage detected