Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with formatting #1948

Merged
merged 2 commits into from
May 1, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/writing-a-plugin/dealing-with-streams.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## Dealing with streams

Let's implement a plugin prepending some text to files. This plugin supports all possible forms of file.contents.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is correct, though file.contents should probably be wrapped in likefile.contents`

Let's implement a plugin prepending some text to files. This plugin supports all possible forms of file contents.

```js
var through = require('through2');
Expand Down Expand Up @@ -73,7 +73,7 @@ gulp.src('files/**/*.js', { buffer: false })
.pipe(gulp.dest('modified-files'));
```

## Some plugins using streams
## Some plugins using streams

* [gulp-svgicons2svgfont](https://github.com/nfroidure/gulp-svgiconstosvgfont)