File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -119,9 +119,8 @@ gulp.task('webstorm', function (done) {
119119
120120 // Find the yargs instance that is most appropriate for the given command line parameters
121121 cliArgs = validateLaunchPath ( yargs . resolveArgv ( ) ) ;
122- if ( cliArgs . taskName === 'init' ) {
123- cliArgs = config . get ( ) ; // default arguments when called by the "init" task
124- }
122+
123+ cliArgs = config . get ( ) ;
125124
126125 // set defaults
127126 if ( cliArgs . defaults ) {
@@ -132,9 +131,8 @@ gulp.task('webstorm', function (done) {
132131 } ) ;
133132 gutil . log ( 'wrote file ' + config . commit ( ) ) ;
134133 }
135-
136- // else run the selected items
137134 else {
135+ // else run the selected items
138136 var taskList = [
139137 cliArgs . subdir && 'webstorm:subdir' ,
140138 cliArgs . project && 'webstorm:project' ,
You can’t perform that action at this time.
0 commit comments