Permalink
Browse files

Fix documentation example of stream piping.

  • Loading branch information...
1 parent 4c98dea commit 26db62c3ed54788e34d2cd9002445b793c9ad54b @danmactough danmactough committed with Jul 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -81,7 +81,7 @@ through unmolested.
// same chunks coming in also go out.
fs.createReadStream("file.xml")
.pipe(saxStream)
- .pipe(fs.createReadStream("file-copy.xml"))
+ .pipe(fs.createWriteStream("file-copy.xml"))

0 comments on commit 26db62c

Please sign in to comment.