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: #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 MylesBorins committed Apr 18, 2017
1 parent 90caad4 commit e9a6ddd
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 e9a6ddd

Please sign in to comment.