Skip to content

Commit 7b7ab9c

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 1289cbd commit 7b7ab9c

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
@@ -756,7 +756,7 @@ available data. In the latter case, [`stream.read()`][stream-read] will return
756756
const fs = require('fs');
757757
const rr = fs.createReadStream('foo.txt');
758758
rr.on('readable', () => {
759-
console.log('readable:', rr.read());
759+
console.log(`readable: ${rr.read()}`);
760760
});
761761
rr.on('end', () => {
762762
console.log('end');

0 commit comments

Comments
 (0)