MCPcopy Create free account
hub / github.com/SAP/ui5-project / _getYamlConfigurations

Method _getYamlConfigurations

lib/graph/Module.js:272–283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers 1

_getConfigurationsMethod · 0.95

Calls 3

_readConfigFileMethod · 0.95
getIdMethod · 0.95

Tested by

no test coverage detected