Skip to content

Commit 3f54024

Browse files
author
Robert Jackson
authored
Merge pull request #808 from simonihmig/fix-treeforfb
2 parents 25703bd + 924385e commit 3f54024

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/ember-cli-fastboot/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ module.exports = {
184184
this._processAddons(this.project.addons, fastbootTrees);
185185
// check the parent containing the fastboot directory
186186
const projectFastbootPath = path.join(this.project.root, 'fastboot');
187-
if (this.existsSync(projectFastbootPath)) {
187+
// ignore the project's fastboot folder if we are an addon, as that is already handled above
188+
if (!this.project.isEmberCLIAddon() && this.existsSync(projectFastbootPath)) {
188189
let fastbootTree = this.treeGenerator(projectFastbootPath);
189190
fastbootTrees.push(fastbootTree);
190191
}

0 commit comments

Comments
 (0)