Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Toolchain
sgc
Commits
9b50c474
Commit
9b50c474
authored
Jan 09, 2015
by
Philipp Nowinski
Browse files
[BUGFIX] do not create bower.json for typo root
parent
a361f4c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/index.js
View file @
9b50c474
...
...
@@ -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
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment