From c0d9b1c02b7e27fcc5f78f1df37385ed12b30f80 Mon Sep 17 00:00:00 2001 From: Vinay Hiremath Date: Tue, 4 Apr 2017 14:17:12 -0700 Subject: [PATCH] doc: fix string interpolation in Stream 'finish' PR-URL: https://github.com/nodejs/node/pull/12221 Reviewed-By: Vse Mozhet Byt Reviewed-By: James M Snell Reviewed-By: Rich Trott --- doc/api/stream.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index 29546679d123f2..6638a8f6533acd 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', () => {