Commit 9b50c474 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[BUGFIX] do not create bower.json for typo root

parent a361f4c3
......@@ -240,11 +240,13 @@ module.exports = yeoman.generators.Base.extend((function() {
answers
);
}
this.fs.copyTpl(
this.templatePath('_bower.json'),
this.destinationPath('bower.json'),
answers
);
if (answers.projectType !== 'typo3Frontend') {
this.fs.copyTpl(
this.templatePath('_bower.json'),
this.destinationPath('bower.json'),
answers
);
}
};
Generator.install = function() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment