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

Method blueprintLookupPaths

lib/models/project.js:524–533  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

522 @return {Array} List of paths
523 */
524 blueprintLookupPaths() {
525 if (this.isEmberCLIProject()) {
526 let lookupPaths = [this.localBlueprintLookupPath()];
527 let addonLookupPaths = this.addonBlueprintLookupPaths();
528
529 return lookupPaths.concat(addonLookupPaths);
530 } else {
531 return this.addonBlueprintLookupPaths();
532 }
533 }
534
535 /**
536 Returns a list of addon paths where blueprints will be looked up.

Callers 6

getAllBlueprintsFunction · 0.80
lookupBlueprintMethod · 0.80
_lookupLocalBlueprintMethod · 0.80
lookupBlueprintFunction · 0.80
project-test.jsFile · 0.80

Calls 3

isEmberCLIProjectMethod · 0.95

Tested by

no test coverage detected