linter likes this better

This commit is contained in:
Girish Ramakrishnan
2019-06-11 12:32:15 -07:00
parent 530e06ec66
commit 511287b16e

View File

@@ -1464,7 +1464,7 @@ function downloadFile(appId, filePath, callback) {
transform: function (chunk, ignoredEncoding, callback) {
this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
while (true) {
for (;;) {
if (this._buffer.length < 8) break; // header is 8 bytes
var type = this._buffer.readUInt8(0);