diff options
author | Vinay Hiremath <vhiremath4@gmail.com> | 2017-04-05 00:17:12 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2017-04-05 01:29:05 +0300 |
commit | 82ef00cc0a36492808badb23d4d79ed303412943 (patch) | |
tree | bb22665bfa3b4ea293e4a2a0a9819664fc7965bd /doc/api/stream.md | |
parent | 610ac7d8581012e627a4f4b67450b423ddbda415 (diff) |
doc: fix string interpolation in Stream 'finish'
PR-URL: https://github.com/nodejs/node/pull/12221
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/stream.md')
-rw-r--r-- | doc/api/stream.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md index 23b8059ed99..78c87d26caf 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -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', () => { |