biome lint --write
This commit is contained in:
parent
b9a77cc61d
commit
8372348148
10 changed files with 27 additions and 27 deletions
|
|
@ -170,10 +170,10 @@ const _mergeJournal = (...journals) => {
|
|||
const allJournals = flatten(
|
||||
journals.map(j => Array.isArray(j) ? j : [])
|
||||
).filter(entry =>
|
||||
Object.prototype.hasOwnProperty.call(entry, 'path') &&
|
||||
Object.prototype.hasOwnProperty.call(entry, 'operation') &&
|
||||
Object.prototype.hasOwnProperty.call(entry, 'args') &&
|
||||
Object.prototype.hasOwnProperty.call(entry, 'timestamp')
|
||||
Object.hasOwn(entry, 'path') &&
|
||||
Object.hasOwn(entry, 'operation') &&
|
||||
Object.hasOwn(entry, 'args') &&
|
||||
Object.hasOwn(entry, 'timestamp')
|
||||
)
|
||||
const grouped = groupBy(allJournals, 'path')
|
||||
const trimmedGrouped = Object.entries(grouped).map(([path, journal]) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue