Skip to content

Commit b30857e

Browse files
rename peak to peek
1 parent e7bb078 commit b30857e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bitfield.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ module.exports = class Bitfield {
460460
}
461461

462462
static async open (storage) {
463-
const last = await storage.peakLastBitfieldPage()
463+
const last = await storage.peekLastBitfieldPage()
464464
if (last === null) return new Bitfield(storage, null)
465465

466466
const buffer = b4a.alloc((last.index + 1) * BYTES_PER_PAGE)

0 commit comments

Comments
 (0)