File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,7 @@ module.exports = generator.Base.extend({
36
36
} ,
37
37
38
38
prompting : function ( ) {
39
- let done = this . async ( ) ;
40
- this . prompt ( prompts , function ( props ) {
39
+ return this . prompt ( prompts , function ( props ) {
41
40
42
41
// Make sure to get the correct app name if it is not the default
43
42
if ( props . appName !== utils . yeoman . getAppName ( ) ) {
@@ -47,7 +46,7 @@ module.exports = generator.Base.extend({
47
46
// Set needed global vars for yo
48
47
this . appName = props . appName ;
49
48
this . style = props . style ;
50
- this . postcss = props . postcss
49
+ this . postcss = props . postcss ;
51
50
this . generatedWithVersion = packageInfo . version . split ( '.' ) . unshift ( ) ;
52
51
53
52
// Set needed keys into config
@@ -59,7 +58,6 @@ module.exports = generator.Base.extend({
59
58
60
59
this . config . save ( ) ;
61
60
62
- done ( ) ;
63
61
} . bind ( this ) ) ;
64
62
} ,
65
63
You can’t perform that action at this time.
0 commit comments