()
| 270 | } |
| 271 | |
| 272 | async _getYamlConfigurations() { |
| 273 | const configs = await this._readConfigFile(); |
| 274 | |
| 275 | if (!configs || !configs.length) { |
| 276 | log.verbose(`Could not find a configuration file for module ${this.getId()}`); |
| 277 | return []; |
| 278 | } |
| 279 | |
| 280 | return await Promise.all(configs.map((config) => { |
| 281 | return this._normalizeAndApplyShims(config); |
| 282 | })); |
| 283 | } |
| 284 | |
| 285 | async _readConfigFile() { |
| 286 | const configPath = this._configPath; |
no test coverage detected