Skip to content

Commit c519287

Browse files
Lekogibfahn
authored andcommitted
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>
1 parent b2236a3 commit c519287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/stream.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ available data. In the latter case, [`stream.read()`][stream-read] will return
725725
const fs = require('fs');
726726
const rr = fs.createReadStream('foo.txt');
727727
rr.on('readable', () => {
728-
console.log('readable:', rr.read());
728+
console.log(`readable: ${rr.read()}`);
729729
});
730730
rr.on('end', () => {
731731
console.log('end');

0 commit comments

Comments
 (0)