File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,8 @@ function execute(opts, env) {
5151 var output = JSON . stringify ( gulpInst . tree ( { deep : true } ) ) ;
5252 if ( typeof opts . tasksJson === 'boolean' && opts . tasksJson ) {
5353 return console . log ( output ) ;
54- } else {
55- return fs . writeFileSync ( opts . tasksJson , output , 'utf-8' ) ;
5654 }
55+ return fs . writeFileSync ( opts . tasksJson , output , 'utf-8' ) ;
5756 }
5857 try {
5958 log . info ( 'Using gulpfile' , chalk . magenta ( tildify ( env . configPath ) ) ) ;
Original file line number Diff line number Diff line change @@ -57,9 +57,8 @@ function execute(opts, env) {
5757
5858 if ( typeof opts . tasksJson === 'boolean' && opts . tasksJson ) {
5959 return console . log ( output ) ;
60- } else {
61- return fs . writeFileSync ( opts . tasksJson , output , 'utf-8' ) ;
6260 }
61+ return fs . writeFileSync ( opts . tasksJson , output , 'utf-8' ) ;
6362 }
6463 try {
6564 log . info ( 'Using gulpfile' , chalk . magenta ( tildify ( env . configPath ) ) ) ;
Original file line number Diff line number Diff line change @@ -57,9 +57,8 @@ function execute(opts, env) {
5757
5858 if ( typeof opts . tasksJson === 'boolean' && opts . tasksJson ) {
5959 return console . log ( output ) ;
60- } else {
61- return fs . writeFileSync ( opts . tasksJson , output , 'utf-8' ) ;
6260 }
61+ return fs . writeFileSync ( opts . tasksJson , output , 'utf-8' ) ;
6362 }
6463 try {
6564 log . info ( 'Using gulpfile' , chalk . magenta ( tildify ( env . configPath ) ) ) ;
You can’t perform that action at this time.
0 commit comments