Skip to content

Commit

Permalink
doc: replace string with template string
Browse files Browse the repository at this point in the history
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 MylesBorins committed Dec 12, 2017
1 parent e35aced commit 2bd241e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,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');
Expand Down

0 comments on commit 2bd241e

Please sign in to comment.