mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-26 21:53:06 +00:00
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)
|
? ((first as { text: string }).text as string)
|
||||||
: ''
|
: ''
|
||||||
const params =
|
const params =
|
||||||
typeof first === 'string'
|
typeof first === 'string' ? args[1] : ((first as { values?: unknown })?.values ?? args[1])
|
||||||
? args[1]
|
|
||||||
: ((first as { values?: unknown })?.values ?? args[1])
|
|
||||||
const hits = match ? match(text, params) : text.includes(fragment)
|
const hits = match ? match(text, params) : text.includes(fragment)
|
||||||
if (hits) count += 1
|
if (hits) count += 1
|
||||||
return originalQuery(...args)
|
return originalQuery(...args)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue