MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / addonBlueprintLookupPaths

Method addonBlueprintLookupPaths

lib/models/project.js:542–556  ·  view source on GitHub ↗

Returns a list of addon paths where blueprints will be looked up. @private @method addonBlueprintLookupPaths @return {Array} List of paths

()

Source from the content-addressed store, hash-verified

540 @return {Array} List of paths
541 */
542 addonBlueprintLookupPaths() {
543 let addonPaths = this.addons
544 .reduce((sum, addon) => {
545 if (addon.blueprintsPath) {
546 let val = addon.blueprintsPath();
547 if (val) {
548 sum.push(val);
549 }
550 }
551 return sum;
552 }, [])
553 .reverse();
554
555 return addonPaths;
556 }
557
558 /**
559 Reloads package.json of the project. Clears and reloads the packageInfo and

Callers 2

blueprintLookupPathsMethod · 0.95
project-test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected