stop deepsource from complaining

This commit is contained in:
flavjyk4 2024-08-07 22:10:07 +00:00
parent d6d0832e19
commit 59276fed5d
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
export default async function({}) { export default function({}) {
return { return {
urls: "https://http.cat/451" urls: "https://http.cat/451"
} }

View File

@ -1,4 +1,4 @@
export default async function({}) { export default function({}) {
return { return {
urls: "https://http.cat/451" urls: "https://http.cat/451"
} }

View File

@ -64,8 +64,8 @@ export const testers = {
"youtube": (patternMatch) => "youtube": (patternMatch) =>
patternMatch.id?.length <= 11, patternMatch.id?.length <= 11,
"spotify": (patternMatch) => 1, "spotify": (patternMatch) => patternMatch,
"apple": (patternMatch) => 1, "apple": (patternMatch) => patternMatch,
"facebook": (patternMatch) => "facebook": (patternMatch) =>
patternMatch.shortLink?.length <= 11 patternMatch.shortLink?.length <= 11