()
| 679 | } |
| 680 | |
| 681 | _templatesTree() { |
| 682 | if (!this._cachedTemplateTree) { |
| 683 | let trees = []; |
| 684 | if (this.trees.templates) { |
| 685 | let standardTemplates = new Funnel(this.trees.templates, { |
| 686 | srcDir: '/', |
| 687 | destDir: `${this.name}/templates`, |
| 688 | annotation: 'Funnel: Templates', |
| 689 | }); |
| 690 | |
| 691 | trees.push(standardTemplates); |
| 692 | } |
| 693 | |
| 694 | if (this.trees.app) { |
| 695 | trees.push(this.podTemplates()); |
| 696 | } |
| 697 | |
| 698 | this._cachedTemplateTree = mergeTrees(trees, { |
| 699 | annotation: 'TreeMerge (templates)', |
| 700 | }); |
| 701 | } |
| 702 | |
| 703 | return this._cachedTemplateTree; |
| 704 | } |
| 705 | |
| 706 | /* |
| 707 | * Gather application and add-ons javascript files and return them in a single |
no test coverage detected