Skip to content

Commit

Permalink
doc: fix string interpolation in Stream 'finish'
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#12221
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
vhmth authored and andrew749 committed Jul 19, 2017
1 parent 9ad4627 commit dd80a33
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 @@ -281,7 +281,7 @@ has been called, and all data has been flushed to the underlying system.
```js
const writer = getWritableStreamSomehow();
for (var i = 0; i < 100; i ++) {
writer.write('hello, #${i}!\n');
writer.write(`hello, #${i}!\n`);
}
writer.end('This is the end\n');
writer.on('finish', () => {
Expand Down

0 comments on commit dd80a33

Please sign in to comment.