removed check for writeable

caused broken unit tests
This commit is contained in:
Ryan Wilson
2014-06-20 13:23:09 -07:00
parent b12200fabc
commit 7d50b4aeff
+2 -2
View File
@@ -48,15 +48,15 @@ BaseRollingFileStream.prototype._write = function(chunk, encoding, callback) {
function writeTheChunk() { function writeTheChunk() {
debug("writing the chunk to the underlying stream"); debug("writing the chunk to the underlying stream");
that.currentSize += chunk.length; that.currentSize += chunk.length;
if(that.theStream.writeable) { console.log(that.theStream);
try { try {
that.theStream.write(chunk, encoding, callback); that.theStream.write(chunk, encoding, callback);
} }
catch (err){ catch (err){
debug(err);
callback(); callback();
} }
} }
}
debug("in _write"); debug("in _write");