From fc7d8d59f75b57545cd4951ef178d25ef6af9d64 Mon Sep 17 00:00:00 2001 From: isaacs Date: Thu, 6 Dec 2012 10:21:22 -0800 Subject: [PATCH] lint --- lib/_stream_readable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/_stream_readable.js b/lib/_stream_readable.js index 54ceaa102a..f7790c6625 100644 --- a/lib/_stream_readable.js +++ b/lib/_stream_readable.js @@ -303,7 +303,7 @@ Readable.prototype.pipe = function(dest, pipeOpts) { state.pipes = dest; break; case 1: - state.pipes = [ state.pipes, dest ]; + state.pipes = [state.pipes, dest]; break; default: state.pipes.push(dest); @@ -390,7 +390,7 @@ function pipeOnDrain(src) { return function() { var dest = this; var state = src._readableState; - state.awaitDrain --; + state.awaitDrain--; if (state.awaitDrain === 0) flow(src); };