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
a029f81c
Commit
a029f81c
authored
Jan 09, 2015
by
Philipp Nowinski
Browse files
[BUGFIX] project type is no longer a property of answers
parent
cbe8445a
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/index.js
View file @
a029f81c
...
...
@@ -123,7 +123,7 @@ module.exports = yeoman.generators.Base.extend((function() {
};
Generator
.
writeGulp
=
function
()
{
if
(
answers
.
projectType
!==
'
extbaseExtension
'
)
{
if
(
projectType
!==
'
extbaseExtension
'
)
{
this
.
fs
.
copyTpl
(
this
.
templatePath
(
'
_gulpfile.js
'
),
this
.
destinationPath
(
'
gulpfile.js
'
),
...
...
@@ -193,7 +193,7 @@ module.exports = yeoman.generators.Base.extend((function() {
};
Generator
.
writeDependencyManagement
=
function
()
{
if
(
answers
.
projectType
!==
'
extbaseExtension
'
)
{
if
(
projectType
!==
'
extbaseExtension
'
)
{
this
.
fs
.
copyTpl
(
this
.
templatePath
(
'
_package.json
'
),
this
.
destinationPath
(
'
package.json
'
),
...
...
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