mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
chore: auto-fix lint & formatting [skip ci]
This commit is contained in:
1 parent
6f1a334150
commit
811f8646e0
26 files changed
+304
-306
No files matched your search
@@ -284,9 +284,7 @@ export function validateGroups(
|
||||
if (
|
||||
g.providers !== undefined &&
|
||||
(!Array.isArray(g.providers) ||
|
||||
!g.providers.every(
|
||||
(p) => typeof p === "string" && ["github", "gitea"].includes(p),
|
||||
))
|
||||
!g.providers.every((p) => typeof p === "string" && ["github", "gitea"].includes(p)))
|
||||
) {
|
||||
return {
|
||||
ok: false,
|
||||
|
||||
Reference in new issue
Block a user