gulp-plumber
Advanced tools
Comparing version 0.6.5 to 0.6.6
@@ -7,4 +7,2 @@ 'use strict'; | ||
function trim(str) { return str.replace(/^\s+|\s+$/g, ''); } | ||
function removeDefaultHandler(stream, event) { | ||
@@ -37,4 +35,5 @@ var found = false; | ||
gutil.log( | ||
gutil.colors.cyan('Plumber') + ' found unhandled error:', | ||
gutil.colors.red(trim(error.toString()))); | ||
gutil.colors.cyan('Plumber') + gutil.colors.red(' found unhandled error:\n'), | ||
error.toString() | ||
); | ||
} | ||
@@ -41,0 +40,0 @@ } |
{ | ||
"name": "gulp-plumber", | ||
"version": "0.6.5", | ||
"version": "0.6.6", | ||
"description": "Prevent pipe breaking caused by errors from gulp plugins", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# :monkey: gulp-plumber | ||
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverall Status][coverall-image]][coverall-url] [![Dependency Status][depstat-image]][depstat-url] | ||
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url] | ||
@@ -40,3 +40,3 @@ > Prevent pipe breaking caused by errors from [gulp](https://github.com/wearefractal/gulp) plugins | ||
Sets options described below from its properties. If type is `Function` it will set `errorHandler`. | ||
Sets options described below from its properties. If type is `Function` it will be set as `errorHandler`. | ||
@@ -78,12 +78,11 @@ #### options.inherit | ||
[npm-url]: https://npmjs.org/package/gulp-plumber | ||
[npm-image]: https://badge.fury.io/js/gulp-plumber.svg | ||
[npm-image]: http://img.shields.io/npm/v/gulp-plumber.svg?style=flat | ||
[travis-url]: http://travis-ci.org/floatdrop/gulp-plumber | ||
[travis-image]: https://secure.travis-ci.org/floatdrop/gulp-plumber.svg?branch=master | ||
[travis-url]: https://travis-ci.org/floatdrop/gulp-plumber | ||
[travis-image]: http://img.shields.io/travis/floatdrop/gulp-plumber.svg?style=flat | ||
[coverall-url]: https://coveralls.io/r/floatdrop/gulp-plumber | ||
[coverall-image]: http://img.shields.io/coveralls/floatdrop/gulp-plumber.svg | ||
[coveralls-url]: https://coveralls.io/r/floatdrop/gulp-plumber | ||
[coveralls-image]: http://img.shields.io/coveralls/floatdrop/gulp-plumber.svg?style=flat | ||
[depstat-url]: https://david-dm.org/floatdrop/gulp-plumber | ||
[depstat-image]: https://david-dm.org/floatdrop/gulp-plumber.svg?theme=shields.io | ||
[depstat-image]: http://img.shields.io/david/floatdrop/gulp-plumber.svg?style=flat |
7830
87