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 italoacasas committed Apr 10, 2017
1 parent 4b54520 commit 74d0266
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 74d0266

Please sign in to comment.