packages/electron-filestore/lib/minidump-io.js
Function getIdentifier
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const getIdentifier = (filepath) => {
const key = Buffer.from(lookupKey)
// Align to nearest 8 bytes:
// offset = {length rounded up to nearest multiple of 8}
const byteOffset = (lookupKeyLength | 0x7) + 1