( needleBundleIdentifier )
| 227 | // Load the bundles from files |
| 228 | // so that we don't have to keep them in memory |
| 229 | async findAppBundle ( needleBundleIdentifier ) { |
| 230 | const bundles = await this.getSavedAppBundles() |
| 231 | |
| 232 | return bundles.find( ([ |
| 233 | storedAppBundleIdentifier, |
| 234 | // versions |
| 235 | ]) => storedAppBundleIdentifier === needleBundleIdentifier ) |
| 236 | } |
| 237 | |
| 238 | async getAppBundles ( app ) { |
| 239 | return await Promise.all( app.bundleIds.map( async bundleIdentifier => { |
no test coverage detected