Format campaignAccessRequestMemo int spec with Prettier.
This commit is contained in:
parent
3001b9da00
commit
9e4c537f8f
1 changed files with 1 additions and 3 deletions
|
|
@ -35,9 +35,7 @@ const countStatements = async <T>(
|
|||
? ((first as { text: string }).text as string)
|
||||
: ''
|
||||
const params =
|
||||
typeof first === 'string'
|
||||
? args[1]
|
||||
: ((first as { values?: unknown })?.values ?? args[1])
|
||||
typeof first === 'string' ? args[1] : ((first as { values?: unknown })?.values ?? args[1])
|
||||
const hits = match ? match(text, params) : text.includes(fragment)
|
||||
if (hits) count += 1
|
||||
return originalQuery(...args)
|
||||
|
|
|
|||
Loading…
Reference in a new issue