Skip to content

Commit 74d0266

Browse files
vhmthitaloacasas
authored andcommitted
doc: fix string interpolation in Stream 'finish'
PR-URL: #12221 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 4b54520 commit 74d0266

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
@@ -281,7 +281,7 @@ has been called, and all data has been flushed to the underlying system.
281281
```js
282282
const writer = getWritableStreamSomehow();
283283
for (var i = 0; i < 100; i ++) {
284-
writer.write('hello, #${i}!\n');
284+
writer.write(`hello, #${i}!\n`);
285285
}
286286
writer.end('This is the end\n');
287287
writer.on('finish', () => {

0 commit comments

Comments
 (0)