Skip to content

Commit

Permalink
docs(why-use-pump): fix plugin name
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkome authored and terinjokes committed Sep 30, 2016
1 parent 2829956 commit 1f2c508
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/why-use-pump/README.md
Expand Up @@ -13,7 +13,7 @@ the gulp tool to handle errors.
```javascript
// example of a common gulpfil
var gulp = require('gulp');
var uglify = require('uglify');
var uglify = require('gulp-uglify');

gulp.task('compress', function () {
// returns a Node.js stream, but no handling of error messages
Expand Down Expand Up @@ -44,7 +44,7 @@ useful, we should handle the exceptions properly. Let’s give that a quick shot

```javascript
var gulp = require('gulp');
var uglify = require('uglify');
var uglify = require('gulp-uglify');

gulp.task('compress', function () {
return gulp.src('lib/*.js')
Expand All @@ -62,7 +62,7 @@ the chain, so this error handler only handles the errors given by

```javascript
var gulp = require('gulp');
var uglify = require('uglify');
var uglify = require('gulp-uglify');

gulp.task('compress', function () {
function createErrorHandler(name) {
Expand Down Expand Up @@ -94,7 +94,7 @@ on your gulpfiles, and get back to hacking new features into your app.

```javascript
var gulp = require('gulp');
var uglify = require('uglify');
var uglify = require('gulp-uglify');
var pump = require('pump');

gulp.task('compress', function (cb) {
Expand Down

0 comments on commit 1f2c508

Please sign in to comment.