File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,8 @@ else {
3232 var gt = tl . createToolRunner ( grunt ) ;
3333}
3434
35- // optional - no tasks will concat nothing
36- tl . getDelimitedInput ( 'targets' , ' ' , false )
37- . forEach ( x => {
38- // omit empty values
39- if ( x ) {
40- gt . arg ( x ) ;
41- }
42- } ) ;
35+ // optional - no targets will concat nothing
36+ gt . arg ( tl . getDelimitedInput ( 'targets' , ' ' , false ) ) ;
4337
4438gt . arg ( '--gruntfile' ) ;
4539
Original file line number Diff line number Diff line change @@ -33,14 +33,8 @@ else {
3333 gt . arg ( '--no-color' ) ;
3434}
3535
36- // optional - no tasks will concat nothing
37- tl . getDelimitedInput ( 'targets' , ' ' , false )
38- . forEach ( x => {
39- // omit empty values
40- if ( x ) {
41- gt . arg ( x ) ;
42- }
43- } ) ;
36+ // optional - no targets will concat nothing
37+ gt . arg ( tl . getDelimitedInput ( 'targets' , ' ' , false ) ) ;
4438
4539gt . arg ( '--gulpfile' ) ;
4640
You can’t perform that action at this time.
0 commit comments