Skip to content

Commit 996d275

Browse files
break up if statements
1 parent ad9eb80 commit 996d275

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/batch.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,9 @@ module.exports = class HypercoreBatch extends EventEmitter {
178178

179179
if (index < length) {
180180
return this.session.get(index, { ...opts, tree: this._sessionBatch })
181-
} else if (opts && opts.raw) {
181+
}
182+
183+
if (opts && opts.raw) {
182184
return this._appendsActual[index - length] || null
183185
}
184186

0 commit comments

Comments
 (0)