Error in plugin ‘gulp-shell’


Following is the anti pattern

gulp.src( ‘Foo’ ).pipe( shell( ‘Bar’ ) );


Use the following pattern

gulp.task( ‘Foo’, shell.task(‘Bar’) );


You may also like...