()
| 376 | } |
| 377 | |
| 378 | async _getBuildManifestConfigurations() { |
| 379 | const buildManifestMetadata = await this._readBuildManifest(); |
| 380 | |
| 381 | if (!buildManifestMetadata) { |
| 382 | log.verbose(`Could not find any build manifest in module ${this.getId()}`); |
| 383 | return []; |
| 384 | } |
| 385 | log.verbose(`Configuration for module ${this.getId()} is provided in build manifest`); |
| 386 | |
| 387 | // This function is expected to return the configuration of a project, so we add the buildManifest metadata |
| 388 | // to a temporary attribute of the project configuration and retrieve it later for Specification creation |
| 389 | const config = buildManifestMetadata.project; |
| 390 | config._buildManifest = buildManifestMetadata.buildManifest; |
| 391 | return [this._normalizeAndApplyShims(config)]; |
| 392 | } |
| 393 | |
| 394 | async _readBuildManifest() { |
| 395 | const reader = this.getReader(); |
no test coverage detected