From c8fa8ccdbc0af6d8782b97ff65ddc952a095eead Mon Sep 17 00:00:00 2001 From: Brendan Ashworth Date: Thu, 26 Mar 2015 15:20:27 -0700 Subject: [PATCH] streams: use strict on _stream_wrap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A Mostly Harmless™ change to enable 'use strict' mode in _stream_wrap, bringing it in line with /all/ the other modules. PR-URL: https://github.com/iojs/io.js/pull/1279 Reviewed-By: Brian White (@mscdex) Reviewed-By: Roman Reiss (@silverwind) Reviewed-By: Yosuke Furukawa (@yosuke-furukawa) --- lib/_stream_wrap.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/_stream_wrap.js b/lib/_stream_wrap.js index c3dcfe51b6c9b5..1eac2ddf9413fd 100644 --- a/lib/_stream_wrap.js +++ b/lib/_stream_wrap.js @@ -1,3 +1,5 @@ +'use strict'; + const util = require('util'); const Socket = require('net').Socket; const JSStream = process.binding('js_stream').JSStream;