File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 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({
3636  } , 
3737
3838  prompting : function ( )  { 
39-     let  done  =  this . async ( ) ; 
40-     this . prompt ( prompts ,  function ( props )  { 
39+     return  this . prompt ( prompts ,  function ( props )  { 
4140
4241      // Make sure to get the correct app name if it is not the default 
4342      if ( props . appName  !==  utils . yeoman . getAppName ( ) )  { 
@@ -47,7 +46,7 @@ module.exports = generator.Base.extend({
4746      // Set needed global vars for yo 
4847      this . appName  =  props . appName ; 
4948      this . style  =  props . style ; 
50-       this . postcss  =  props . postcss 
49+       this . postcss  =  props . postcss ; 
5150      this . generatedWithVersion  =  packageInfo . version . split ( '.' ) . unshift ( ) ; 
5251
5352      // Set needed keys into config 
@@ -59,7 +58,6 @@ module.exports = generator.Base.extend({
5958
6059      this . config . save ( ) ; 
6160
62-       done ( ) ; 
6361    } . bind ( this ) ) ; 
6462  } , 
6563
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments