Permalink
Browse files

doc: replace string with template string

PR-URL: #17316
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
Leko authored and gibfahn committed Nov 26, 2017
1 parent b2236a3 commit c519287d3d916b5311ce5276890caae26271369a
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/stream.md
View
@@ -725,7 +725,7 @@ available data. In the latter case, [`stream.read()`][stream-read] will return
const fs = require('fs');
const rr = fs.createReadStream('foo.txt');
rr.on('readable', () => {
console.log('readable:', rr.read());
console.log(`readable: ${rr.read()}`);
});
rr.on('end', () => {
console.log('end');

0 comments on commit c519287

Please sign in to comment.