ginetta / skeleton

a static site generator for web frontend projects
22 stars 4 forks source link

Fix gulp handle error function #138

Closed brunnolou closed 7 years ago

brunnolou commented 7 years ago

Since it was using this.emit the fix was to convert from arrow function to function.

Also, this use the recommend rest operator instead of arguments following the prefer-rest-params eslint rule.

Now you can have an task error without breaking the gulp pipeline.