Skip to content

Commit 2bd241e

Browse files
LekoMylesBorins
authored andcommitted
doc: replace string with template string
PR-URL: #17316 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Yosuke Furukawa <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent e35aced commit 2bd241e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/stream.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ available data. In the latter case, [`stream.read()`][stream-read] will return
764764
const fs = require('fs');
765765
const rr = fs.createReadStream('foo.txt');
766766
rr.on('readable', () => {
767-
console.log('readable:', rr.read());
767+
console.log(`readable: ${rr.read()}`);
768768
});
769769
rr.on('end', () => {
770770
console.log('end');

0 commit comments

Comments
 (0)