deepeshmalviya/scribe — comment on commit 53f581a2ba945db087181114bb49f1f5cdaaae03
File:  line 0
By dionysusxie:

// Do periodic roll up only if you have some messages
rotate = rotateIfData ? (currentSize > 0) : rotate;

I thind the code above should be modified to be:

if( rotate ) {
rotate = rotateIfData ? (currentSize > 0) : rotate;
}