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

Method _applyProjectShims

lib/graph/Module.js:234–243  ·  view source on GitHub ↗
(config = {})

Source from the content-addressed store, hash-verified

232 }
233
234 _applyProjectShims(config = {}) {
235 if (!this._projectConfigShims) {
236 return;
237 }
238 this._projectConfigShims.forEach(({name, shim}) => {
239 log.verbose(`Applying project shim ${name} for module ${this.getId()}...`);
240 Object.assign(config, shim);
241 });
242 return config;
243 }
244
245 async _getSuppliedConfigurations() {
246 if (this._suppliedConfigs.length) {

Callers 2

Calls 1

getIdMethod · 0.95

Tested by

no test coverage detected