(currentPkgInfo)
| 117 | this._bundledPackageInfoCache.set(pkgInfoToStartAt, pkgInfos); |
| 118 | |
| 119 | let findAddons = (currentPkgInfo) => { |
| 120 | if (!currentPkgInfo.valid || !currentPkgInfo.addonMainPath) { |
| 121 | return; |
| 122 | } |
| 123 | |
| 124 | if (pkgInfos.has(currentPkgInfo)) { |
| 125 | return; |
| 126 | } |
| 127 | |
| 128 | if (currentPkgInfo.isForBundleHost()) { |
| 129 | return; |
| 130 | } |
| 131 | |
| 132 | pkgInfos.add(currentPkgInfo); |
| 133 | |
| 134 | let addonPackageList = currentPkgInfo.discoverAddonAddons(); |
| 135 | addonPackageList.forEach((pkgInfo) => findAddons(pkgInfo)); |
| 136 | }; |
| 137 | |
| 138 | let addonPackageList = pkgInfoToStartAt.project |
| 139 | ? pkgInfoToStartAt.discoverProjectAddons() |
nothing calls this directly
no test coverage detected