stream-buffers fix linter error

This commit is contained in:
Mine Starks
2017-03-08 13:40:49 -08:00
parent 4c13d40ac9
commit 86e0a0389b

View File

@@ -39,7 +39,7 @@ var myReadableStreamBuffer = new streamBuffers.ReadableStreamBuffer({
myReadableStreamBuffer.put('A String', 'utf8');
myReadableStreamBuffer.put(buffer);
myReadableStreamBuffer.on('data', function(data) {
myReadableStreamBuffer.on('data', (data) => {
// streams1.x style data
// assert.isTrue(data instanceof Buffer);
});